Ubuntu constantly downloading something
My Ubuntu box seems to be constantly downloading something. I cant seem to figure out what exactly it is downloading. Im not very familiar with the network commands but the system monitor indicates a non-stop download between 5Kb and 15kb for 2 days now. At present i have download 408Mib of data. Any thoughts?
|
Well, you can see everything that's running on your system by running (in a terminal window) the command sudo pstree -a
IIRC, on Ubuntu systems, the terminal command is under the system menu entry. Notes: 1) The sudo in the commend may not be necessary. 2) The pstree output is quite long. Be prepared to scroll up and down. 3) Look for command lines that use command that access the network. (For example, that contain "dpk" in the command line, since those are Debian packages packages; or "apt" in the command name, since most system update commands are based on the "apt" system.) What I suspect is that your system is preparing an automatic upgrade to a newer Ubuntu release, or that you installed from an older DVD (or CD), and that you system is quite out-of-date. If either of those possibilities is correct, you are downloading a quite large amount of updated program material. But your system will be better for it when the updates are installed. Oen of the nice things about Linux system is that new releases and fixes to your programs are, usually, free and automatically installed. But, if your system is "behind," downloading the newer programs can take a long while unless you have a high-speed connection. |
I ran the command you suggested. I did not notice anything from apt or dpk. From my amateur knowledge i dont think these processes are accessing the internet. The following is the output of the command: pstree -a
Code:
frost@frost-laptop-vaio:~$ sudo pstree -a My main concern is data being downloaded to the tune that can fill a hard disk over a couple of months. |
try the program nethogs. It gives you a top like display of programs accessing your network interfaces.
Code:
sudo apt-get install nethogs Code:
sudo nethogs [interface name] HTH |
pattwo, thanks! I hadn't noticed NetHogs before now. Nice program. (And I bumped your rep.)
|
This is mostly the output:
NetHogs version 0.7.0 Code:
PID USER PROGRAM DEV SENT RECEIVED |
Try it with the -d 60 switch so it updates every minute. On my Fedora system, I see:
Code:
7373 Peter /usr/lib64/firefox-3.6/fire wlan0 1.269 4.554 KB/sec From what you posted, I looks like the only thing using your connection is Firefox. Perhaps you have a site that's reloading it's page(s) every 10 seconds or so. That would make you connection look like it was always on, but your drive wouldn't be filling up. |
The output looks basically the same. Now i observed this while i was on campus for the past week. I came home this weekend and i realised that the monitors reports zero usage sometimes just about 1Kb when i am idle. So i am tempted to believe that there is some kind of communication that is necessary when i am on campus. Probably server - host communications. My mind is at piece now. Thanks for your help.
|
All times are GMT -5. The time now is 11:54 AM. |