Node Management

Check logs

sudo journalctl -u juno -f -o cat

Start service

sudo systemctl start juno

Stop service

sudo systemctl stop juno

Restart service

sudo systemctl restart juno

Check service status

sudo systemctl status juno

Reload services

sudo systemctl daemon-reload

Enable Service

sudo systemctl enable juno

Disable Service

sudo systemctl disable juno

Sync info

junod status 2>&1 | jq .SyncInfo

Node info

junod status 2>&1 | jq .NodeInfo

Latest Block Info

curl -s localhost:12657/status | jq .result.sync_info.latest_block_height

Your node peer

echo $(junod tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.juno/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')

a

Last updated