🧩 Useful Commands

Binary & Vers

Check installed Monad binaries:

monad-node --version
monad-rpc --version

Display full CLI options:

monad --help
monad-bft --help
monad-rpc --help

Service Control

Check overall service status:

systemctl status monad-bft monad-execution monad-rpc --no-pager

Restart all core

sudo systemctl restart monad-execution monad-bft monad-rpc

Stop services (maintenance mode):

sudo systemctl stop monad-bft monad-execution monad-rpc

Logs & Debugging

Live consensus logs:

journalctl -fu monad-bft

Execution engine logs:

RPC logs:

Last 100 log lines:

Sync & Block Height

Query current block height via RPC:

RPC availability check:

Disk & Storage

Check TrieDB (MonadDB) usage:

Monitor disk utilization:

Automatic TrieDB compaction starts at ~80% capacity.

Node Overview

Quick validator summary:

Displays:

  • binary versions

  • sync state

  • peer count

  • validator keys

  • consensus role

  • RPC availability

Consensus & Validator Insight

Consensus stream (if enabled):

Outputs:

  • epoch

  • round

  • proposer

  • block height

  • timestamps

monlog (BFT Log Analyzer)

Run interactive health view:

Live updates:

Last 10 consensus events:

Map validator keys to names:

Disable color output:

Emergency Commands

Force service restart:

Check for crashes:

Reboot node (last resort):


Operator Notes

  • Avoid restarting during critical consensus windows

  • Always check logs after upgrades

  • Keep disk usage below 80%

  • Never modify CLI flags on live validators without release notes

Last updated