Fri. Aug 14th, 2020

How to view network status in Linux with ss utility

1 min read

ss – another utility to investigate sockets. ss is used to dump socket statistics. It allows showing information similar to netstat.
It can display more TCP and state informations than other tools.

Use

Example

  • display all TCP related network connections
  • display all TCP related network connections that are on listening state
  • display all TCP-related network connections in the listening state and simultaneously display related programs and PIDs
  • show connected sockets from a specific address