Skip to content

Commit

Permalink
Feature: CLI status peers command (#666)
Browse files Browse the repository at this point in the history
* Add information about status peers command

* Fix typo

* Fix linter

* Fix linter

* Fix linter
  • Loading branch information
Wolmin authored Oct 10, 2023
1 parent f85d902 commit 4a490a0
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/networks/mainnet/running-a-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,21 @@ lukso status
# INFO[0000] PID 39432 - Validator (validator): Stopped 🔘
```

If you want to check any of the running clients in more detail, you can use the built-in logging command of the CLI. It will print out the current log messages of one client to the terminal screen.
You can also check the connectivity of your clients by running `lukso status peers` command - this will show how many
peers are your clients connected with.

```bash
lukso status peers

# INFO[0000] Execution (Geth): Outbound: 10 | Inbound: 3 🟢
# INFO[0000] Consensus (Lighthouse): Outbound: 5 | Inbound: 8 🟢
```

Please note that execution client may need additional APIs enabled in order to send peer info. You can read more on how
to enable those [here](https://github.com/lukso-network/tools-lukso-cli#how-to-get-your-peer-count).

If you want to check any of the running clients in more detail, you can use the built-in logging command of the CLI. It
will print out the current log messages of one client to the terminal screen.

```bash
# Viewing the logs of the execution client
Expand Down

0 comments on commit 4a490a0

Please sign in to comment.