The Socket Statistics (ss) command is similar to netstat

Step1. Check version

ss --version

Step2. Check socket usage

ss -s

Step3. Help

ss -h

Step4. Check Listening sockets

ss -l

Step5. Check all process

ss -pl

Step6. Check ethernet sockets

ss -4

Step7. Similarly, you can list all TCP, UDP, RAW

ss -at
ss -au
ss -ar
ss -ax

Step8. Show sockets connected to a remote machine whose IP address is 192.168.33.53

ss dst 192.168.33.53

LEAVE A REPLY

Please enter your comment!
Please enter your name here