Test with Apache Benchmark

Source: Internet
Author: User

 

Run the following command to check the status during the test:

Netstat-N | awk '/^ TCP/{++ s [$ NF]} end {for (a in S) print a, s [a]}'

(This statement is obtained from the banquet blog, and the banquet brother obtained from the eldest brother Wang)
Sample returned results:

Last_ack 1syn_recv 1close_wait 33Established 217Fin_wait1 15fin_wait2 16time_wait 46697 status: Description closed: No connection is active or listen is in progress: the server is waiting to enter the call syn_recv: a connection request has arrived, waiting to confirm syn_sent: The application has started, open a connectionEstablished: normal data transmission statusFin_wait1: The application says it has completed fin_wait2: the other side has agreed to releaseItmed_wait:Wait until all groups dieClosing: both sides attempt to disable time_wait at the same time: the other side has initialized a release last_ack: waiting for all groups to die

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.