My installed OS is Ubuntu 12.10, 64 bit, English, kernel version 3.5.0.21
Which commands must I issue at the terminal window to find out the names of programs that connect to the internet immediately after Ubuntu boots up?
My installed OS is Ubuntu 12.10, 64 bit, English, kernel version 3.5.0.21
Which commands must I issue at the terminal window to find out the names of programs that connect to the internet immediately after Ubuntu boots up?
sudo netstat --inet -p
will show current active or listening connections with names of programs.Upd
To view connections with LISTENING state netstat must be invoked with additional
-a
option:sudo netstat --inet -pa
NetHogs is a handy little tool which shows you what processes are utilizing your bandwidth. You can startup this application immediately after reboot and you would know which programs are connecting to the internet at startup.
Step 1 : Install NetHogs with the following command:
Step 2 : Once installed, you may run nethogs with the following command:
replace
<interface>
witheth0
,wlan0
,ppp0
depending on what you use to connect to the internet. If you are not sure, then runifconfig
to know what are the available options for you.You may quit the program by pressing Ctrl + C.