Get node info from command line?

Is there a way to get node info without actually attaching to the geth node? For example I need a script that returns the peer count of my node in a bash script. Unless there is a way to return a value after attaching and exiting a geth node?


Sign In or Register to comment.