Is there a way to list the all nodes on my computer with
geth command line, and maybe even see some status for them?
(I'm new to go-ethereum, apologies if this is a noob question, but I cannot quite find the answer.)
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
You likely don't have any
geth nodes running on your machine unless you have explicitly started them. In order to run multiple full nodes, you would need to have explicitly chosen different ports for each when creating them, and your machine would need to have hundreds of GB of storage in order to accommodate for them.
If you do have many running, then there are a few ways to go about knowing if they are running or seeing their status.
To know if they are running, you can simply run
ps aux | grep geth to see how many processes with the word
geth in them are running.
If you want to know that output of the
geth instance (and you don't have them all running in various terminal sessions), you would have to log the output to a file and read the file.