Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo sh <<'END_IFTOP'
- filter="not (src net (10 or 172.16/12 or 192.168/16) and dst net (10 or 172.16/12 or 192.168/16))"
- iftop -i enp1s0 -f "$filter" -t -L1 2> /dev/null |
- awk '$1 == "Cumulative" {print $5}' > $HOME/output.file
- END_IFTOP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement