To view TCP/IP (HTTP) connectivity for a server

Source: Internet
Author: User

6. Specifically, how to monitor the TCP/IP connection of a specific program???!!

Use: Netstat-n|grep 80 command to see the TCP/IP connection of the specific port corresponding program.

Netstat-n|grep 80 A large number of time_wait

Running the Netstat-n|grep 80 | awk '/^tcp/{++s[$NF]} END {for (A-in S) print A, S[a]} ' was found to have a large number of time_wait, which would require viewing the interface log for blocking behavior, or modify the Linux configuration to reduce its time_ Wait value.

 

For details, refer to http://www.jb51.net/LINUXjishu/342462.html

The number of server visitors can be by command: netstat-pnt | grep:80 list, such as the request server on the previous page, through the command to view the results, the following established indicates that the server is being accessed, you can add wc-l statistics by the number , the final command is: netstat-pnt | grep:80 | wc-l This command can count the number of server all URLs requested

  

  

Because the server itself occupies a connection, the concurrency number is 7 user access at this time

To view TCP/IP (HTTP) connectivity for a server

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.