ab的用法
上一篇 /
下一篇 2011-05-16 18:45:13
/ 个人分类:系统配置
E:\Test tool\ab>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
-b windowsize Size of TCP send/receive buffer, in bytes
-p postfile File containing data to POST. Remember als
-T content-type Content-type header for POSTing, eg.
'application/x-www-form-urlencoded'
Default is 'text/plain'
-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-Enc
Inserted after all normal header lines. (r
-A attribute Add Basic WWW Authentication, the attribut
are a colon separated username and passwor
-P attribute Add Basic Proxy Authentication, the attrib
are a colon separated username and passwor
-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 warn
-g filename Output collected data to gnuplot format fi
-e filename Output CSV file with percentages served
-r Don't exit on socket receive errors.
-h Display usage information (this message)
收藏
举报
TAG: