Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I'm basically looking for a utility that displays which processes are using how much bandwidth, similar to how top displays which processes use how much resources.

share|improve this question
whats FLOSS? Something like Free L? Open Source Software? – echox Nov 11 '10 at 15:18
Ah thanks :-) its because to indicate the difference of free/open source :-) – echox Nov 11 '10 at 15:23
@echox I got rid of the acronym. – Tshepang Feb 24 '11 at 5:46

Have a look at ntop.org.

share|improve this answer
How do you get it to display BW consumption per process? Look at my Answer to see what I'm looking for. Can this do that, or close enough? – Tshepang Feb 23 '11 at 9:24
up vote 5 down vote accepted

NetHogs is the best tool I have found so far that fulfills my need, but sadly needs to be run as root. (via)

share|improve this answer

I would like to add iptraf to the list. http://iptraf.seul.org

share|improve this answer
I see last update was 2005, and that's worrying. Why do you recommend it? Why use it instead of alternatives? – Tshepang Nov 23 '10 at 9:30
Simple to install, simple to use and useful. I started using it about 10 years ago, and never needed a replacement. I am still using it. Netstat shows you just a snapshot (like ps for processes), ntop gives you something like top for the network ... I don't know about NetHogs. You also can use lsof to see which process uses which port if you need. – Patkos Csaba Nov 24 '10 at 15:02

netstat can give you usage statistics on a per socket basis.

share|improve this answer
What command do you use to get usage statistics on a per socket basis? Can you get usage on a per-process basis? – Tshepang Mar 1 '11 at 12:18

You can get stats from netstat via the -s flag, and per-process from the -p flag.

share|improve this answer
Yet it doesn't really show per application bandwidth. – peterph Apr 17 '14 at 20:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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