nethogs (8) - Linux Man Pages
nethogs: Net top tool grouping bandwidth per process
nethogs - Net top tool grouping bandwidth per process
SYNOPSISnethogs [-h] [-V] [-d] [-v] [-t] [-c] [-p] [-s] [device(s)]
DESCRIPTIONNetHogs is a small 'net top' tool. Instead of breaking the traffic down per protocol or per subnet, like most such tools do, it groups bandwidth by process - and does not rely on a special kernel module to be loaded. So if there's suddenly a lot of network traffic, you can fire up NetHogs and immediately see which PID is causing this, and if it's some kind of spinning process, kill it.
- display available commands usage.
- prints Version info.
- delay for refresh rate.
- select view mode
- sniff in promiscious mode (not recommended).
- limit number of refreshes
- sort by traffic sent
device(s) to monitor. By default eth0 is being used.
- cycle between display modes (kb/s, kb, b, mb)
- sort by 'received'
- sort by 'sent'
Written by Arnout Engelen <arnouten [at] bzzt.net>.