Check logs
sudo journalctl -u swisstronik -f -o cat
Start service
sudo systemctl start swisstronik
Stop service
sudo systemctl stop swisstronik
Restart service
sudo systemctl restart swisstronik
Check service status
sudo systemctl status swisstronik
Reload services
sudo systemctl daemon-reload
Enable Service
sudo systemctl enable swisstronik
Disable Service
sudo systemctl disable swisstronik
Sync info
swisstronikd status 2>&1 | jq .SyncInfo
Node info
swisstronikd status 2>&1 | jq .NodeInfo
Latest Block Info
curl -s localhost:26457/status | jq .result.sync_info.latest_block_height
Your node peer
echo $(swisstronikd tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.swisstronik/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Last updated 3 months ago