Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
add comment

5 Answers 5

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
add comment
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
add comment

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
1  
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
add comment

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
add comment

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 at 20:22
add comment

Your Answer

 
discard

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.