Node Management

Check logs

sudo journalctl -u atomone -f -o cat

Start service

sudo systemctl start atomone

Stop service

sudo systemctl stop atomone

Restart service

sudo systemctl restart atomone

Check service status

sudo systemctl status atomone

Reload services

sudo systemctl daemon-reload

Enable Service

sudo systemctl enable atomone

Disable Service

sudo systemctl disable atomone

Sync info

atomoned status 2>&1 | jq .SyncInfo

Node info

atomoned status 2>&1 | jq .NodeInfo

Latest Block Info

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

Your node peer

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

a

Last updated