Netstat command details

Source: Internet
Author: User
In this case, you can run the netstat-nlutp command to check whether the dhcp service has enabled netstat and check the connected service port (ESTABLISHED) netstat-a to view all service ports (LISTEN, ESTABLISHED) sudonetstat-ap: View all service ports and Display corresponding ports...
At this time, you can run the "netstat-nlutp" command to check whether the dhcp service has enabled netstat and check the connected service port (ESTABLISHED) netstat-a to view all service ports (LISTEN, ESTABLISHED) sudo netstat-ap: View all service ports and display the corresponding service program name. if you want to view TCP or UDP port usage, use netstat-anp. if some processes are invisible, if only "-" is displayed "-", try sudo netstat-anp netstat for details-a or-all to display valid connections established by socket-n in all connections-o display timer-p-programs to display programs in use-t display the connection status of tcp transmission-u display the connection status of udp transmission-l display the socket author yingbin920 of the monitored server
Related Article

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.