In Linux, /usr/sbin/ss commmands gives the socket information similar to netstat. There are various options which are very useful.

[root@unixfoo ~]# /usr/sbin/ss
State       Recv-Q Send-Q   Local Address:Port      Peer Address:Port
ESTAB       0      0          192.12.2.45:1022      192.12.0.237:2245
ESTAB       0      0          192.12.2.45:1023      192.12.0.237:2245
ESTAB       0      0          192.12.2.45:1021      192.12.0.237:2245
ESTAB       0      0          192.12.2.45:1021      192.12.0.238:2245
ESTAB       0      0          192.12.2.45:1023      192.12.0.238:2245
ESTAB       0      0          192.12.2.45:1022      192.12.0.238:2245
ESTAB       0      0          192.12.2.45:1023       192.12.2.42:2245
ESTAB       0      0          192.12.2.45:1022       192.12.2.42:2245
ESTAB       0      0          192.12.2.45:1021       192.12.2.42:2245
ESTAB       0      0          192.12.2.45:1021       192.12.2.41:2245
ESTAB       0      0          192.12.2.45:1022       192.12.2.41:2245
ESTAB       0      0          192.12.2.45:1023       192.12.2.41:2245
[root@unixfoo ~]#

0 Shares:
Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like
Read More

Disabling TLS 1.0 on nginx web servers

Disable TLS 1.0 and enable higher versions of TLS in nginx. To disable TLS 1.0 on nginx webserver installations, edit the "ssl_protocols" directive in your nginx.conf, where the TLS server directives are listed and remove TLSv1.