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.
-
whats FLOSS? Something like Free L? Open Source Software?echox– echox2010-11-11 15:18:23 +00:00Commented Nov 11, 2010 at 15:18
-
Ah thanks :-) its because to indicate the difference of free/open source :-)echox– echox2010-11-11 15:23:05 +00:00Commented Nov 11, 2010 at 15:23
-
@echox I got rid of the acronym.tshepang– tshepang2011-02-24 05:46:11 +00:00Commented Feb 24, 2011 at 5:46
Add a comment
|
6 Answers
I would like to add iptraf to the list. http://iptraf.seul.org
-
I see last update was 2005, and that's worrying. Why do you recommend it? Why use it instead of alternatives?tshepang– tshepang2010-11-23 09:30:03 +00:00Commented Nov 23, 2010 at 9:30
-
1Simple 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– Patkos Csaba2010-11-24 15:02:50 +00:00Commented Nov 24, 2010 at 15:02
netstat can give you usage statistics on a per socket basis.
-
What command do you use to get usage statistics on a per socket basis? Can you get usage on a per-process basis?tshepang– tshepang2011-03-01 12:18:25 +00:00Commented Mar 1, 2011 at 12:18
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
You can get stats from netstat via the -s flag, and per-process from the -p flag.
-
Yet it doesn't really show per application bandwidth.peterph– peterph2014-04-17 20:22:30 +00:00Commented Apr 17, 2014 at 20:22