Socket statistics

From DWIKI

Known as ss

Documentation

HOWTO

List all listening tcp ports

ss -natl


List all connections to a port

ss -nat '( dport = :1234 )'


Show processes listening on ports

ss -pl

List all listening ports and their processes

ss -tlnp