-N: Total number of requests
-C: The number of concurrent numbers is maxclients in 100,httpd.conf represents the concurrency amount
[Email protected] ~]$ab-n1000-c100 http://www.a.com/01.html//100 clients send 1000 requests
This is apachebench, Version 2.3 < $Revision: 1748469 $>
Copyright 1996 Adam Twiss, Zeus technology LTD, http://www.zeustech.net/
Licensed to the Apache software Foundation, http://www.apache.org/
Benchmarking www.a.com (Be patient)
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Finished requests
Server Software:apache
Server hostname:www.a.com
Server port:80
Document Path:/01.html
Document length:23 bytes#01. The length of the HTML is 23 bytes
Concurrency level:100#并发量为100
Time taken for tests:0.448 seconds#1000个请求花费了0.448 seconds
Complete requests:1000#总的请求数目
Failed requests:0
Total transferred:274000 bytes#总共传输的字节数目
HTML transferred:23000 bytes#01. The length of the HTML is 23*1000 (number of requests) =23000b
Requests per second:2230.24 [#/sec] (mean)
#每秒多少请求, the total number of requests 1000/time spent 0.448=2230.24, this value is the server throughput.
Time per request:44.838 [MS] (mean)
#用户平均等待每个请求的时间, each user sends an average of 10 requests, so
The average waiting time per user for each request is 0.448s/10=44.8ms
Time per request:0.448 [MS] (mean, across all concurrent requests)
#服务器对每个请求平均处理时间, 0.448s/1000=0.448ms, which is the reciprocal of server throughput
Transfer rate:596.76 [kbytes/sec] received #传输速率
#27400/1024/0.448=587kbytes/sec
Connection Times (MS)
Min MEAN[+/-SD] Median max
Connect:0 1 1.0 0 4
Processing:7 42 6.6 42 68
Waiting:7 42 6.5 42 60
Total:11 43 6.2 42 68
Percentage of the requests served within a certain time (MS)
50% 42//50% requests processed within 41MS
66% 45//
75% 46
80% 46
90% 49
95% 53
98% 57
99% 60
100% (Longest request)
Comments:
Median: The median in mathematics, when a group of numbers is sorted, a number in the middle (number of numbers is odd), or an average of two numbers in the middle (the number is even).
Mean: It can represent arithmetic averages (all elements are added and divided by number), or geometric averages (all elements multiply and re-prescribe, and the number of elements is the number of arguments).
Mood: Time too fast, this early middle school things have forgotten, their own Baidu.
This article is from the "12208412" blog, please be sure to keep this source http://12218412.blog.51cto.com/12208412/1883964
AB Command pressure test