> For the complete documentation index, see [llms.txt](https://services.validexis.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://services.validexis.com/testnets/monad/useful-commands.md).

# 📜  Useful Commands

#### *Version Information*

Check the installed Monad binary version:

```bash
monad-node --version
```

#### *Service Status*

Check that all core services are running:

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

#### *Logs*

View live logs for troubleshooting:

```bash
journalctl -u monad-bft -f
journalctl -u monad-execution -f
journalctl -u monad-rpc -f
```

#### *Block Height / Sync Status*

Once RPC is available, check the current block height:

```bash
curl http://localhost:8080 \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
```

#### *Disk Usage (MonadDB)*

Check TrieDB disk usage and retained history:

```bash
monad-mpt --storage /dev/triedb
```

#### *Quick Node Overview*

Get a summarized node status (services, sync, peers):

```bash
monad-status
```
