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