5

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.

3
  • whats FLOSS? Something like Free L? Open Source Software? Commented Nov 11, 2010 at 15:18
  • Ah thanks :-) its because to indicate the difference of free/open source :-) Commented Nov 11, 2010 at 15:23
  • @echox I got rid of the acronym. Commented Feb 24, 2011 at 5:46

6 Answers 6

7

Have a look at ntop.org.

1
  • 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? Commented Feb 23, 2011 at 9:24
5

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

1

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

2
  • I see last update was 2005, and that's worrying. Why do you recommend it? Why use it instead of alternatives? Commented Nov 23, 2010 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. Commented Nov 24, 2010 at 15:02
0

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

1
  • What command do you use to get usage statistics on a per socket basis? Can you get usage on a per-process basis? Commented Mar 1, 2011 at 12:18
0

IMO in decreasing order of usefulness, if you want to know what's eating your bandwidth. Of course, to just list and monitor sockets you can watch -d 'sudo ss -tlpn'.

Bandwidth monitor with process info

  • bandwhich: Terminal bandwidth utilization tool. On brew.
  • nethogs: Net top tool grouping bandwidth per process. On Debian repos.
# Show connection but not processes
iptraf-ng
iptop
# Up/down each second
ifstat -bt
sar -n DEV  1
-1

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

1
  • Yet it doesn't really show per application bandwidth. Commented Apr 17, 2014 at 20:22

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.