Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Ubuntu I can see the total network usage from the 'System Monitor', but how do I know which application is consuming the network bandwidth? I would like to know the network consumption at a particular time per application.

share|improve this question

1 Answer 1

up vote 7 down vote accepted

Command like nethogs can be used for the requirement. You can install it using sudo apt-get install nethogs from the command line.

NetHogs is a small 'net top' tool. Instead of breaking the traffic down per protocol or per subnet, like most tools do, it groups bandwidth by process. NetHogs does not rely on a special kernel module to be loaded. If there's suddenly a lot of network traffic, you can fire up NetHogs and immediately see which PID is causing this. This makes it easy to indentify programs that have gone wild and are suddenly taking up your bandwidth.

share|improve this answer

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.