Node Management

Check logs

sudo journalctl -u empe -f -o cat

Start service

sudo systemctl start empe

Stop service

sudo systemctl stop empe

Restart service

sudo systemctl restart empe

Check service status

sudo systemctl status empe

Reload services

sudo systemctl daemon-reload

Enable Service

sudo systemctl enable empe

Disable Service

sudo systemctl disable empe

Sync info

emped status 2>&1 | jq .SyncInfo

Node info

emped status 2>&1 | jq .NodeInfo

Latest Block Info

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

Your node peer

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

a

Last updated