Linux – In linux, how can you tell which processes use the most network bandwidth

linuxnetworkingstatistics

In linux, how can you tell which processes use the most network bandwidth? Is there something like "top" for the network?

I know about bwm-ng, but it only shows global statistics, not per-process usage.

Best Answer

nethogs does this. All you need to do is run it as root and possibly give it your network interface name as an argument if it doesn't default to the correct one.