SS is a free and open source network socket tool for Linux system. Using SS command line tool, you can get all socket related statistics. It is similar to netstat tool and shows more detailed information. In this article you will get some ss command examples.
How to list all Connections:
Open the terminal command line app using ctrl+alt+t keys and run below command.
How to View all Summary Statistics
How to Display IPv4 Socket Connections
How to Display IPv6 Socket Connections
How to List Listening and Non-listening Ports using SS
How to Show all Listening Sockets
How to Show all TCP Connections
How to View all UDP Connections
How to Display Process IDs of Sockets
For the complete ss usage details, run below command.