Socket statistics: Difference between revisions
From DWIKI
Tag: wikieditor |
m →HOWTO |
||
| (One intermediate revision by the same user not shown) | |||
| Line 12: | Line 12: | ||
==List all connections to a port== | ==List all connections to a port== | ||
ss -nat '( dport = :1234 )' | ss -nat '( dport = :1234 )' | ||
==Show processes listening on ports== | |||
ss -pl | |||
==List all listening ports and their processes== | |||
ss -tlnp | |||
[[Category:Network]] | |||
Latest revision as of 08:40, 2 June 2026
Known as ss
Documentation
- 12 ss Command Examples to Monitor Network Connections
- command: Display Linux TCP / UDP Network/Socket Information
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
