Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

First of all, I am on a slow Internet connection and it really makes me mad if something gets downloaded in background (like automatic update of any software) without my knowledge.

How can I monitor my network traffic sorted according to the "which binary file is using how much"? I can find the total transfer rate in "System Monitor" in Gnome, but what if I want to find for individual process. There are softwares like netmonitor in Windows, but how can I achieve that in UBUNTU LINUX.

GUI application will be nice, command line software will also be fine.. I tried searching on Google because I actually didnt get any relevant search.

share

migration rejected from stackoverflow.com Jan 13 at 22:40

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by random Jan 13 at 22:40

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you're trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question." – random
If this question can be reworded to fit the rules in the help center, please edit the question.

you can use iftop utility for detecting traffic based on ports. And also later find which process is using that port. http://www.slashroot.in/linux-iptraf-and-iftop-monitor-and-analyse-network-traffic-and-bandwidth

share

The best solution I'd found is NetHogs, and in Ubuntu/Fedora it is available under nethogs package.

On newer kernels, you most probably have to provide the network interface name, since it expects eth0 but it is not there (use ip link show to find interfaces available). In my case the ethernet is p19p1. Thus NetHogs is invoked via:

$ sudo nethogs p19p1

NetHogs is utility similar to top, supports several intractive keyboard commands, and command-line switches. See screenshot:

NetHogs screenshot

share
1  
Hit m to see totals rather than current rate (and different units). Hit s or r to sort by sent or received. – joeytwiddle Dec 22 '15 at 8:41

Googling it gives me pyshaper. It looks something like what you are looking for. Here is a How-To

share
    
No, this is not what the question was asking for. This is a traffic shaping tool. Not monitoring. – erik Mar 11 '13 at 20:12

Since you asked for a GUI application and there doesn't seem to be one here, I'd like to point you to one.. SeaLion. Great timeline, easy setup as well. You can monitor both your network and CPU usage, memory, etc. used by different process. Advantage mainly lies in the timeline which lets you go back in time to check older outputs.

Simple and useful. There are others though, like Nagios, Splunk, etc; SeaLion's my favourite.

share

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