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

GitHub CLI

GitHub CLI brings GitHub to your terminal. Free and open source. Official website: https://cli.github.com

GCP: Google Cloud Shell

Google Cloud Shell is a tool for managing resources hosted on Google Cloud Platform! The machine comes pre-installed with the Google Cloud SDK and other popular developer tools.