ss
ss
- ss (secure socket) is used to investigate socket statistics, and can show similar information to netstat
Commands
ss
ss -tuln
t
- Display TCP socketsu
- Display UDP socketsl
- listening socketsn
- Numeric (don't resolve service names)
ss -o state established
o
- SSH connectionsstate
- Filters results by the state of the socket (e.g. established, listening, closed, etc.)