7

Is there a program that I can use to list processes based on their current network I/O usage? top does CPU, and on FreeBSD at least, it will also do disk I/O if you pass it -m io (I assume that there's an equivalent of some kind on Linux, but I don't remember it off the top of my head). But what I'd like is specifically network I/O so that I can see which processes are using it and how much. Is there a program that I can use to list processes that way? And if not, what would be the best alternative?

  • 1
    iptraf might be the thing you are looking for. – Serge Jun 4 '16 at 23:36
  • ntop? nethogs? iptraf? iptstat? cacti? – DopeGhoti Jun 5 '16 at 2:28
  • Nowadays Debian/Ubuntu users want iptraf-ng because the old iptraf package is abandonware. – Mikko Rantalainen Sep 1 '17 at 12:05
9

There's ntop and nethogs.

And on linux there's iotop for io.

  • nethogs is pretty cool. Which package is ntop on ubuntu/debian from? – arthur Nov 6 '18 at 17:47
  • I don't remember what package I got ntop from. When I search the repositories now, I find ntopng, where the description says (among other things): "ntopng is the next generation version of the original ntop", but I haven't tried it. – Henrik - stop hurting Monica Nov 6 '18 at 20:16
  • Indeed! I've downloaded the package nicely.. and realized that it starts a web server and does quite a number of fancy things: ntop.org/products/traffic-analysis/ntop. Thanks for commenting on it, even years after the post – arthur Nov 8 '18 at 7:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.