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
10
net/scripts/install-iftop.sh
Executable file
10
net/scripts/install-iftop.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Rsync setup
|
||||
#
|
||||
set -ex
|
||||
|
||||
[[ $(uname) = Linux ]] || exit 1
|
||||
[[ $USER = root ]] || exit 1
|
||||
|
||||
apt-get --assume-yes install iftop
|
Reference in New Issue
Block a user