Socket statistics: Difference between revisions
From DWIKI
Created page with "Known as '''ss''' =Documentation= *[https://www.tecmint.com/ss-command-examples-in-linux/ 12 ss Command Examples to Monitor Network Connections] =HOWTO=" Tag: wikieditor |
m →HOWTO |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
=Documentation= | =Documentation= | ||
*[https://www.tecmint.com/ss-command-examples-in-linux/ 12 ss Command Examples to Monitor Network Connections] | *[https://www.tecmint.com/ss-command-examples-in-linux/ 12 ss Command Examples to Monitor Network Connections] | ||
*[https://www.cyberciti.biz/tips/linux-investigate-sockets-network-connections.htmlss command: Display Linux TCP / UDP Network/Socket Information] | |||
=HOWTO= | =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 | |||
[[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
