ss – the alternative to netstat

By | 2012/08/16

An alternative to netstat is the utility ss. ss dumps socket statistics in a clear and more simple view as compared to netstat. Let’s check it out!


With no options specified, ss displays a list of TCP sockets with established connections. This is useful on a server to see what clients are connected.

01-ss

The option tack l outputs current listening sockets. Much easier than netstat!

02-ss

Tack t shows current TCP sockets; tack u for UDP sockets:

03-ss

Tack s shows a socket stat summary:

04-ss

Tack a shows all:

05-ss

Cool!

One thought on “ss – the alternative to netstat

  1. Mike Droker

    Doesn’t show all that netstat -I did on an HP.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.