nethogs
# nethogs eth0iftop
$ iftop -b -P -n -i eth0ifstat (顯示介面速率)
$ ifstat -i eth0 -n -q 1 1| awk 'NR>2 {print "D:" $1 "k/U:" $2 "k"}'
or$ ifstat -i eth0 -n | awk 'NR>2 {print
"D:" $1 "k/U:" $2 "k"
; fflush()}'
Reference :
How to Monitor Network Traffic in Linux | Techthrob.com
沒有留言:
張貼留言