Using of Apache Benchmark example.
AB,apache bench,benchmark,example,http,keepalive,www,server,connect,request,multiple requests,time,transfer,command line,arguments
Command-line example:
[uzaren:apache /home/www] ab -kc 5 -n 1000 -t 300 http://my.site.info/
Arguments:
k - enable the HTTP KeepAlive feature
c - number of multiple requests
n - number of requests to perform
t - time limit
Result example:
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking my.site.info (be patient)
Server Software: nginx/0.7.61
Server Hostname: my.site.info
Server Port: 80
Document Path: /
Document Length: 102151 bytes
Concurrency Level: 5
Time taken for tests: 300.421875 seconds
Complete requests: 795
Failed requests: 21
(Connect: 0, Length: 21, Exceptions: 0)
Write errors: 0
Keep-Alive requests: 0
Total transferred: 81995257 bytes
HTML transferred: 81217565 bytes
Requests per second: 2.65 [#/sec] (mean)
Time per request: 1889.446 [ms] (mean)
Time per request: 377.889 [ms] (mean, across all concurrent requests)
Transfer rate: 266.54 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 5 8.0 0 31
Processing: 953 1876 316.7 2015 2531
Waiting: 781 1183 105.8 1187 1578
Total: 953 1881 315.5 2015 2546
Percentage of the requests served within a certain time (ms)
50% 2015
66% 2031
75% 2031
80% 2062
90% 2234
95% 2375
98% 2437
99% 2500
100% 2546 (longest request)2009-09-09, Uzaren