Logo
Explore Help
Sign In
gaspersic/solana
1
0
Fork 0
You've already forked solana
Code Issues Pull Requests Projects Releases Wiki Activity
Files
a57f6b70dadd81c7f28a952156192bd7a2a0e6c3
solana/scripts/iftop.sh

17 lines
296 B
Bash
Raw Normal View History

Use iftop to collect network bandwidth usage (#6560) * Use iftop to collect network bandwidth usage * fix shellcheck * more shellchecks * review comments
2019-10-26 00:06:46 -07:00
#!/usr/bin/env bash
#
# Reports network bandwidth usage
#
set -e
[[ $(uname) == Linux ]] || exit 0
cd "$(dirname "$0")"
New program to process `iftop` log output (#6668) * New program to process iftop log output * fixes * fix shellcheck * address review comments * more review comments
2019-10-31 18:22:57 -07:00
sudo=
if sudo true; then
sudo="sudo -n"
fi
Use iftop to collect network bandwidth usage (#6560) * Use iftop to collect network bandwidth usage * fix shellcheck * more shellchecks * review comments
2019-10-26 00:06:46 -07:00
New program to process `iftop` log output (#6668) * New program to process iftop log output * fixes * fix shellcheck * address review comments * more review comments
2019-10-31 18:22:57 -07:00
$sudo iftop -i "$(ifconfig | grep mtu | grep -iv loopback | grep -i running | awk 'BEGIN { FS = ":" } ; {print $1}')" -nNbBP -t
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 492ms Template: 24ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses