Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
related question here: – quack quixote Nov 9 '09 at 9:44
up vote 8 down vote accepted

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.

share|improve this answer
Awesome! Thanks! – Peltier Nov 9 '09 at 14:08
Great tool! Thanks for the hint. It reminds me a bit of iotop ( just for network connections. :) – timn Nov 9 '09 at 19:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .