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

Setup your own RFC Editor for Linux.

Tux, the Linux penguin
Image via Wikipedia

Well, if you are a professional who has to keep referring to RFC, then you know how good it would be to have the RFC downloaded and kept in your computer. But then unless you can search it and use and editor with it, its of not much use. So, here is something  that you can do :

First get the rfc rpm from the below link:

And then set the correct editor for the RFC files:


And then you would need to set the full path for the RFC repository to a file called “~/.rfcrc”. This file would contain only one line and that would be the path where you have stored all the RFC’s. And BTW, if you do not download the RFC’s then this tool will directly search and download from the default base location so you do not need to do anything.

And then you can also set syntax and filetype in .vimrc to “rfc”. Now you are all set.
Just execute


You will see the list of options. And here is quick options that you may keep handy

rfc  -- show the headline for the rfc
rfc -l  -- open the rfc
rfc -r -- do regex search on rfc-index
rfc -s   -- search for string

Hope this helps

Enhanced by Zemanta

ss – utility to investigate sockets.

Sometimes, you find some interesting application/command by accident, and that is just what happened a few days back. Well, I was doing a ssh and as usual made my share of mistake in typing and missed the “h” from the ssh command and saw a list of options instead of my prompt on remote server.

Now, that set me thinking and fond that its a very interesting command that comes with iproute on Fedoara, so if you want this command, then install iproute like this

 sudo yum install iproute

and then you can see the help with

man ss


By default, without any options you will see a list of all open sockets on your system.

There are a lot of options that you can use and couple of them are very interesting a useful.

-m — shows the memory

p — process associated with the socket.

-i — shows the TCP internal information

There are some other options which you might find useful.

Enhanced by Zemanta