www(root):/home/440hz#>ab
ab: wrong number of arguments
Usage: ab [options] [http://]hostname[:port]/path
Options are:
-n requests Number of requests to perform
-c concurrency Number of multiple requests to make
-t timelimit Seconds to max. wait for responses
-p postfile File containg data to POST
-T content-type Content-type header for POSTing
-v verbosity How much troubleshooting info to print
-w Print out results in HTML tables
-i Use HEAD instead of GET
-x attributes String to insert as table attributes
-y attributes String to insert as tr attributes
-z attributes String to insert as td or th attributes
-C attribute Add cookie, eg. 'Apache=1234' (repeatable)
-H attribute Add Arbitrary header line, eg. 'Accept-Encoding: zop'
Inserted after all normal header lines. (repeatable)
-A attribute Add Basic WWW Authentication, the attributes
are a colon separated username and password.
-P attribute Add Basic Proxy Authentication, the attributes
are a colon separated username and password.
-X proxy:port Proxyserver and port number to use
-V Print version number and exit
-k Use HTTP KeepAlive feature
-d Do not show percentiles served table.
-S Do not show confidence estimators and warnings.
-g filename Output collected data to gnuplot format file.
-e filename Output CSV file with percentages served
-h Display usage information (this message)
www(root):/home/440hz#>ab -n 100 -c 10 [url]http://440hz.ru/[/url]
This is ApacheBench, Version 1.3d <$Revision: 1.73 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, [url]http://www.zeustech.net/[/url]
Copyright (c) 1998-2002 The Apache Software Foundation, [url]http://www.apache.org/[/url]
Benchmarking 440hz.ru (be patient).....done
Server Software: Apache/1.3.31
Server Hostname: 440hz.ru
Server Port: 80
Document Path: /
Document Length: 8923 bytes
Concurrency Level: 10
Time taken for tests: 11.032 seconds
Complete requests: 100
Failed requests: 36
(Connect: 0, Length: 36, Exceptions: 0)
Broken pipe errors: 0
Total transferred: 947444 bytes
HTML transferred: 908276 bytes
Requests per second: 9.06 [#/sec] (mean)
Time per request: 1103.20 [ms] (mean)
Time per request: 110.32 [ms] (mean, across all concurrent requests)
Transfer rate: 85.88 [Kbytes/sec] received
Connnection Times (ms)
min mean[+/-sd] median max
Connect: 13 14 0.6 14 20
Processing: 512 1036 263.3 1007 1909
Waiting: 497 1035 263.3 1007 1908
Total: 512 1050 263.1 1021 1923
Percentage of the requests served within a certain time (ms)
50% 1021
66% 1076
75% 1105
80% 1135
90% 1255
95% 1725
98% 1873
99% 1923
100% 1923 (last request)
хотя это смущает. что не так? кто-нить подскажет? где не та длина отдается?Failed requests: 36
(Connect: 0, Length: 36, Exceptions: 0)
ты о чем?Автор оригинала: magic
Zend Platform установлен?
http://www.celebrazio.net/tech/unix/apache_bench.htmlIn the above example, if the server returns dynamic content, the file size may be different from one request to another. When this happens, Apache bench notes it as "Failed request" for Length being different. We can ignore that.