Useful Commands

Version Information

Check installed Monad binary versions:

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

Example output:

monad-node {"commit":"c0cdcaae8eb527e44d72c4638c1f1335025a5132","tag":"v0.12.2-rc","branch":"","modified":true}

CLI Help

View available CLI arguments:

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

Warning: CLI arguments should not be changed arbitrarily. Incorrect flags may cause instability or crashes.

Service Management

Check Service Status

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

Individual services:

View Logs

Monitoring Block Height

The RPC service listens on port 8080 after state sync completes.

Query current block height:

MonadDB (TrieDB) Disk Usage

Check TrieDB disk usage and retained history:

Notes:

  • Automatic compaction triggers at ~80% capacity

  • Designed to preserve SSD performance

Log Analysis with monlog

monlog parses recent BFT logs and provides node health information.

Setup

As root user:

Log out and log back in (or su - monad).

As monad user:

Expected checksum:

Run monlog

Live updates:

Last 10 log lines:

Map secp keys to validator names:

Disable color output:

Consensus Information with ledger-tail

monad-ledger-tail streams consensus data by parsing ledger artifacts.

Start service:

View output:

Output includes:

  • epoch

  • round

  • block number

  • proposer

  • timestamps


Node Status with monad-status

Install:

Run:

Provides:

  • node version

  • sync status

  • validator keys

  • peer count

  • consensus state

  • RPC status

Last updated