ss – anothre utility to investigate sockets.

ss is :

ss  is  used to dump socket statistics. It allows showing information similar to netstat.  It can display more TCP and state informationsthan other tools.

 

This comes in iproute package in Fedora. So, to install this you would need to install “iproute” if not installed already.

sudo yum install iproute

Now, once you have done that you can look at the man page to check what all you can see with ss. but here are some examples:

#list all sockets
ss -ant
ss -art

#List all listening sockets
ss -anl

# Show detailed information and memory for all listening sockets
ss -anlme

# Display all udp sockets
ss -u -a

 

Enhanced by Zemanta

About Amit Agarwal