PDA

View Full Version : How I view the current running connections?


Syndi556
16th December 2004, 01:31 AM
Hello, all! I want to view the current running connections of my pc, so how?
Any suggestions would be appreciated!

hollenjj
16th December 2004, 01:50 AM
Not sure if I understand your question. You want to know who is logged ( connected ) to your PC? If so, running finger at the shell prompt will show you who is on your system.

If you want to see all the running processes on your Linux machine... Use the ps command. Check out the man pages for all the options. For example, I can see a full listing of all process running under my user name if I run the following at the shell prompt;

ps -fu hollenjj

Hope that helps! :)

vinu
16th December 2004, 03:26 AM

If it's network connections you are looking for, you could try the following from a command prompt:
netstat -an --inet

FED
16th December 2004, 06:18 AM
It is easy! You can use a firewall which has a "Net State" function showing the currently active connections and the details of these connections. I know Armor2net Personal Firewall can do that. Download link: http://www.armor2net.com
You can have a try!

h4d
16th December 2004, 06:25 AM
Armor2net is for Windows only, as far as I know. http://www.linuxgazette.com/node/9371.
For linux you can use firestarter, for instance, but "netstat -an --inet", as vinu suggests, is the way to go!

LiNuX-CrUsAdEr
16th December 2004, 10:07 AM
Hello, all! I want to view the current running connections of my pc, so how?
Any suggestions would be appreciated!

If your intention is to view only the current connections, you can invoke the "netstat -an --inet n" command where n is the number of seconds before the output will re-display or refresh.

On the other hand, if at the same you want to secure your Linux box, Firestater would be the best choice of firewall to install. Recently, they released version 1.0 which includes many enhanced features from version 0.9. You can also view active connections under Firestarter.

:)