Unbuntu under the AB Test tool installation and use

Source: Internet
Author: User

Apache Benchmark (AB) apressure test software provided by a Pache

First we install the environment first

sudo apt-get install apache2-utils
Usage: ab [options][http[s]://]hostname[:p ort]/path//  -n  number of requests  -c  concurrency  url   Target pressure measurement address ab -n100 -c10 //  pressure test for Baidu this is apachebench, version 2.3  < $Revision: 1528965 $>copyright 1996 adam twiss, zeus  technology ltd, http://www.zeustech.net/licensed to the apache software  foundation, http://www.apache.org/benchmarking www.baidu.com  (be patient) ... doneServer  Software:        BWS/1.1         //  Server server hostname:         www.baidu.comserver port:             80document path:          /document length:         96792 bytesconcurrency level:      10time taken for tests:    30.740 secondscomplete requests:      100failed requests:         90    (Connect: 0, receive: 0,  length: 90, exceptions: 0) total transferred:       9777233 byteshtml transferred:       9677750 bytesrequests  per second:    3.25 [#/sec]  (mean)    //number of requests per second time  per request:       3074.004 [ms]  (mean)      //time as short as possible time per request:       307.400 [ms]   (mean, across all concurrent requests) transfer rate:           310.61 [kbytes/sec] receivedconnection times  (MS)                min  mean[+/-sd] median    maxconnect:       21   31   7.1      30      52processing:    82  468  3057.2    123   30717Waiting:        21   40  30.6     35      321total:        114  499 3056.3     157   30740Percentage of the requests served within a  certain time  (MS)   50%    157  66%     172  75%    185  80%    218  90%    341  95%     520  98%    629  99%  30740 100 %  30740  (Longest request)


Unbuntu under the AB Test tool installation and use

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.