Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I installed natty (11.04) and wanted to play a video. Went through the process the cancelled because it was slow and files were relatively large unstable and it was late .(Internet very expensive for me). I copied the links to download later.

i closed mplayer and went on surfing in Firefox. Surfing was not working properly. And i got an error using traceroute(something about a buffer).

In system monitor i noticed my connection was going at nearly its max speed (17KBps)

I checked netstat but i didn't show any thing that indicated which application was downloading.

Killed all open apps. Didn’t fix

I opened the software manager and it told me that another app was using apt. I didn’t find anyway to kill it so i had to restart.(My uptime is usually around a month) Problem fixed on restart.


What is the root cause of this issue?

Is there any app that can tell me what application is downloading what? Sorta like system monitor on windows or some firewalls on windows

Any per process firewalls for Linux like the type I’m using on windows (Comodo); Doesn’t have to be open source.

share|improve this question
I'd check in software settings - look for the update tab and set it not to download updates automatically first. – 23 93 26 35 19 57 3 89 Jul 29 '12 at 18:08
Done that already. First thing i always do – Inemesit Affia Jul 29 '12 at 19:04
What about the per process firewall bit? – Inemesit Affia Jul 29 '12 at 19:06
and the root cause bit? – Inemesit Affia Jul 29 '12 at 19:13
@elfy it started all over again so i went to software sources and unchecked everything – Inemesit Affia Aug 11 '12 at 19:14

As royalsampler suggested above use nethogs for Realtime network usage viewing through terminal . Install it using

sudo apt-get install nethogs

and run it

sudo nethogs

For example you can see as here

NetHogs version 0.8.0

  PID USER     PROGRAM                      DEV        SENT      RECEIVED       
2652  user     /usr/lib/firefox/firefox     eth0       2.318      48.183 KB/sec

And for a GUI preferred interface use Firestarter , approximately 500 KB's download.

enter image description here

share|improve this answer

There's a tool called nethogs which will show the network usage by process

share|improve this answer

To completely block apt from working, you need to block it from starting. Go to /usr/lib/apt, then open the methods folder as administrator. Rename http to http.bak. This will affect all applications that depend on apt.

share|improve this answer

Your Answer


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.