Bash scripts for managing safe nodes on Linux

  • Get number of node peer-ids that are alive
    Rocky Linux 9.4, bash
lsof ~/.local/share/safe/node/*/logs/safenode.log | grep "safenode " | wc -l
2 Likes