Use iftop to collect network bandwidth usage (#6560)
* Use iftop to collect network bandwidth usage * fix shellcheck * more shellchecks * review comments
This commit is contained in:
committed by
Michael Vines
parent
be74801236
commit
e174af7838
@@ -810,7 +810,7 @@ stopNode() {
|
||||
PS4=\"$PS4\"
|
||||
set -x
|
||||
! tmux list-sessions || tmux kill-session
|
||||
for pid in solana/{blockexplorer,net-stats,fd-monitor,oom-monitor}.pid; do
|
||||
for pid in solana/*.pid; do
|
||||
pgid=\$(ps opgid= \$(cat \$pid) | tr -d '[:space:]')
|
||||
if [[ -n \$pgid ]]; then
|
||||
sudo kill -- -\$pgid
|
||||
|
Reference in New Issue
Block a user