Info & Status
command for Information about node, validator and status
Function
Command
Synchronize Information
sudo planqd status 2>&1 | jq .SyncInfoor
curl -s localhost:${PORT}657/status | jq .result.sync_infoNode Information
sudo planqd status 2>&1 | jq .NodeInfoShow Node ID
sudo planqd tendermint show-node-idShow Node Logs
journalctl -fu planqd -o catGet 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