Node Management

Check logs

sudo journalctl -u functionx -f -o cat

Start service

sudo systemctl start functionx

Stop service

sudo systemctl stop functionx

Restart service

sudo systemctl restart functionx

Check service status

sudo systemctl status functionx

Reload services

sudo systemctl daemon-reload

Enable Service

sudo systemctl enable functionx

Disable Service

sudo systemctl disable functionx

Sync info

fxcored status 2>&1 | jq .SyncInfo

Node info

fxcored status 2>&1 | jq .NodeInfo

Latest Block Info

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

Your node peer

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

a

Last updated