Node Management

Check logs

sudo journalctl -u warden -f -o cat

Start service

sudo systemctl start warden

Stop service

sudo systemctl stop warden

Restart service

sudo systemctl restart warden

Check service status

sudo systemctl status warden

Reload services

sudo systemctl daemon-reload

Enable Service

sudo systemctl enable warden

Disable Service

sudo systemctl disable warden

Sync info

wardend status 2>&1 | jq .SyncInfo

Node info

wardend status 2>&1 | jq .NodeInfo

Latest Block Info

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

Your node peer

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

a

Last updated