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:
Pankaj Garg
2019-10-26 00:06:46 -07:00
committed by Michael Vines
parent be74801236
commit e174af7838
5 changed files with 30 additions and 1 deletions

View File

@ -138,6 +138,8 @@ cat >> ~/solana/on-reboot <<EOF
echo \$! > fd-monitor.pid
scripts/net-stats.sh > net-stats.log 2>&1 &
echo \$! > net-stats.pid
scripts/iftop.sh > iftop.log 2>&1 &
echo \$! > iftop.pid
if ${GPU_CUDA_OK} && [[ -e /dev/nvidia0 ]]; then
echo Selecting solana-validator-cuda