Skip to main content

Linux command: ss - socket statistics

ss is another utility to investigate sockets. It can display more TCP and state information than other tools.

Examples

List all sockets

$ ss -a

Show statistics

$ ss -s

List all listening sockets

$ ss -l

List TCP connections

$ ss -t

List UDP connections

$ ss -u

Show process using socket

$ ss -p

Popular posts from this blog

Google Credential Provider for Windows: Notes

Google Credential Provider for Windows® (GCPW) lets users sign in to Windows® devices with the Google Account they use for work. GCPW provides users with a single sign-on experience to Google services and all the security features available with their Google Account.

How to check Linux version

RedHat Enterprise Linux (RHEL) cat /etc/redhat-release Ubuntu lsb_release -a SuSE cat /etc/os-release cat /etc/*release hostnamectl