How do I display all the tcp sockets using network command ss?
-
Also see the man page: ss(8) - another utility to investigate sockets
Display all TCP sockets.
$ ss -t -a State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 128 0.0.0.0:sunrpc 0.0.0.0:* LISTEN 0 32 192.168.122.1:domain 0.0.0.0:* LISTEN 0 128 0.0.0.0:ssh 0.0.0.0:* LISTEN 0 128 127.0.0.1:x11-ssh-offset 0.0.0.0:* ESTAB 0 64 192.168.0.112:ssh 192.168.0.18:54982 ... ... ...
© Lightnetics 2024