Node Management

Check logs

sudo journalctl -u prysmd -f -o cat

Start service

sudo systemctl start prysmd

Stop service

sudo systemctl stop prysmd

Restart service

sudo systemctl restart prysmd

Check service status

sudo systemctl status prysmd

Reload services

sudo systemctl daemon-reload

Enable Service

sudo systemctl enable prysmd

Disable Service

sudo systemctl disable prysmd

Sync info

prysmd status 2>&1 | jq .SyncInfo

Node info

prysmd status 2>&1 | jq .NodeInfo

Latest Block Info

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

Your node peer

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

a

Last updated