How do I find out which program is using internet and how much?
Solution 1
- NetHogs may help (
sudo apt-get install nethogs
) - Run with
sudo nethogs <interface>
(interface can be eth0, wlan0, etc.), and observe it for a while:
- Then use
htop
(install if necessary) to "graphically" kill the process. You will probably get better results by telling us which process it is and then disabling it, instead of swatting it like a fly every time it pops up ;)
Solution 2
Maybe IPTraf can help you.
I don't use it, but it seems to do what you need.
Related videos on Youtube
Anwar
Ubuntu user since 8.04. Computer Addict. Constant changer of Distro & DE. I love Softwares and tweaking/playing with them. Introvert. Friendly. Neither too social, nor completely unsocial. I prefer being alone or with small group of people. I love collecting beautiful fonts and use them in my desktop. I programmed in C, Java, Ruby (my current favorite) and a little Python, JS. I'm not a native English speaker, thus may have ambiguities or mistakes in my answers. Editing is Welcome.
Updated on September 18, 2022Comments
-
Anwar over 1 year
Possible Duplicate:
How do I find out which process is eating up my bandwidth?Sometimes there is unusual internet activity on my Computer. The modem's lights are always blinking and when I open system monitor, I see there some unknown program is using my precious internet with 64KB/S (I have 512kbps connection). I am in a firefox session with only one tab opened, and the page is already loaded and there is no busy sign in the page (that rotating orange circle).
In that situation I unplug my modem and reconnect it again. After several times doing this, that unusual activity stops. It annoys me very much.
How can I find out the process which is using the Internet?. How much it is using? How can I kill it?
A graphical solution will be better.
-
Mostafa Shahverdy over 10 yearsI had exactly the same problem. And this solved my problem. There was a python application using the whole bandwidth. It seems that you have it too in the picture you've sent :) What is that?
-
MadMad666 almost 4 yearsAnd how can I see acumulated total of consumed bandwith ?
-
Sudhakar Krishnan almost 4 yearsI dont know the interface. I use
sudo nethogs -a