Networking, Programming and Graphics - Tutorials
ONLINEHOWTO.net Tutorials Category

How to view the currntly opened connections to my server

Type: Code Networking, Programming and Graphics - Tutorials
Networking, Programming and Graphics - Tutorials
Level: Beginner Networking, Programming and Graphics - Tutorials 
Networking, Programming and Graphics - Tutorials
Date: 2007-May-16
Networking, Programming and Graphics - Tutorials
Visited: 2475 times
Networking, Programming and Graphics - Tutorials
Rating: Networking, Programming and Graphics - Tutorials
Networking, Programming and Graphics - Tutorials
Published: Stephen Think

This tutorial will show you how to get the list of all currently opened network connections to your Linux server.

1. Open up a terminal shell.
2. Type

netstat -an

-a - this parameter defines that you want to view all connections
-n - this parameter defines that you wish to view the address of the remotely connected server/user in numerical format rather than by hostname.


Additional useful parameters:

-p - this will print the name of the executable file that is in communication with the remote client
-v - When used in conjunction with -b, will display sequence of components involved in creating the connection or listening port for all executables.
Rate this tutorial:                    
Post Comment

Need a specific tutorial? Do not hesitate and submit a request!
Your e-mail: