Super Powerful socket tool SS, alternative netstat

Source: Internet
Author: User

1. Conclusion: SS command is more powerful than netstat, providing more functions and higher performance.

2, display the current system socket occupies the overall macro situation.

Ss-s

When there are too many sockets created, there is a problem with the system configuration.

3, display TCP socket condition SS-A-t

Show UDP socket Case SS-A-U

4, show a port number is occupied by which process, using Lsof-i udp:53

Or, show TCP port 53rd is occupied by WHO, using Lsof-i tcp:53

5. Displays all open ports on the current system, and the name of the process using that port

Ss-nlp

6. Identify applications that occupy a certain port

SS-NLP | grep 53

7, display the statistics of the IP layer

Netstat-s

8. Display statistics for each port

Ip-s Link ls ens33

Reference:

Https://www.cnblogs.com/kevingrace/p/6211509.html

Super Powerful socket tool SS, alternative netstat

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.