Info & Status
command for Information about node, validator and status
Function
Command
Synchronize Information
sudo planqd status 2>&1 | jq .SyncInfo
or
curl -s localhost:${PORT}657/status | jq .result.sync_info
Node Information
sudo planqd status 2>&1 | jq .NodeInfo
Show Node ID
sudo planqd tendermint show-node-id
Show Node Logs
journalctl -fu planqd -o cat
Get List of Connected Peers
curl -sS http://localhost:$PORT/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}'
Check Peer ID and Port
echo $(planqd tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.planqd/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Last updated