Node Management

Check logs

sudo journalctl -u dhealth -f -o cat

Start service

sudo systemctl start dhealth

Stop service

sudo systemctl stop dhealth

Restart service

sudo systemctl restart dhealth

Check service status

sudo systemctl status dhealth

Reload services

sudo systemctl daemon-reload

Enable Service

sudo systemctl enable dhealth

Disable Service

sudo systemctl disable dhealth

Sync info

dhealthd status 2>&1 | jq .SyncInfo

Node info

dhealthd status 2>&1 | jq .NodeInfo

Latest Block Info

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

Your node peer

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

a

Last updated