LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How do I find applications accessing Network? (https://www.linuxquestions.org/questions/linux-networking-3/how-do-i-find-applications-accessing-network-502344/)

noobx2 11-16-2006 07:17 PM

How do I find applications accessing Network?
 
Go easy on me, I am a complete noob! :).
Anyway, can someone tell me how to go about identifying the application(s) accessing the network from my PC? Running Ubuntu 6.10, and the network monitor utility is showing sporadic network activity even when I am not accessing the network. Nothing significant, just very short, consistent pops. Any help would be greatly appreciated

Regards
Tony

zhangmaike 11-16-2006 08:03 PM

As root, in a terminal:

Code:

lsof -i4
will list ALL of the current connections, their states, and the applications holding them.

If you don't need to see everything, but only the connections used by applications running under your user, you don't need to run that command as root.

See man lsof.

It's useful for other things, too.

noobx2 11-17-2006 01:43 AM

Many thanks zhangmaike
 
Appreciate the response. Thanks!

Regards
Tony


All times are GMT -5. The time now is 08:00 AM.