apache服务器压力测试工具ab

2009-05-13 11:58:34来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

NAME
ab -
[url=javascript:;]Apache[/url]
HTTP server benchmarking tool
ab-apache http 服务器压力测试工具
SYNOPSIS
ab
[ -A auth-username ] [ -c concurrency ] [ -C cookie-name=value ] [ -d ]
[ -e csv-file ] [ -g gnuplot-file ] [ -h ] [ -H custom-header ] [ -i ]
[ -k ] [ -n requests ] [ -p POST-file ] [ -P proxy-auth-username ] [ -q
] [ -s ] [ -S ] [ -t timelimit ] [ -T content-type ] [ -v verbosity] [
-V ] [ -w ] [ -x -attributes ] [ -X proxy[] ] [ -y
-attributes ] [ -z -attributes ]
[http://]hostname[:port]/path
SUMMARY
ab is a tool for
benchmarking your Apache Hypertext Transfer Protocol(HTTP) server. It
is designed to give you an impression of how your current Apache
installation performs. This especially shows you how many requests per
second your Apache installation is capable of serving.
ab是Apache超文本传输协议(HTTP)的性能测试工具。 其设计意图是描绘当前所
[url=javascript:;]安装[/url]
的Apache的执行性能, 主要是显示你安装的Apache每秒可以处理多少个请求。
OPTIONS
-A auth-username:password
Supply
BASIC Authentication credentials to the server. The user name and
password are separated by a single : and sent on the wire base64
encoded. The string is sent regardless of whether the server needs it
(i.e., has sent an 401 authentication needed).
对服务器提供BASIC认证信任。 用户名和密码由一个:隔开,并以base64编码形式发送。 无论服务器是否需要(即, 是否发送了401认证需求代码),此字符串都会被发送。
-c concurrency
Number of multiple requests to perform at a time. Default is one request at a time.
一次产生的请求个数。默认是一次一个。
-C cookie-name=value
Add a Cookie: line to the request. The argument is typically in the form of a name=value pair. This field is repeatable.
对请求附加一个Cookie:行。 其典型形式是name=value的一个参数对。 此参数可以重复。
-d Do not display the "percentage served within XX [ms] table".
(legacy support).
不显示"percentage served within XX [ms] table"的消息(为以前的版本提供支持)。
-e csv-file
Write
a Comma separated value (CSV) file which contains for each percentage
(from 1% to 100%) the time (in milliseconds) it took to serve that
percentage of the requests. This is usually more useful than the
'gnuplot' file; as the results are already 'binned'.
产生一个以逗号分隔的(CSV)文件, 其中包含了处理每个相应百分比的请求所需要(从1%到100%)的相应百分比的(以毫秒为单位)时间。 由于这种格式已经“二进制化”,所以比'gnuplot'格式更有用。
-g gnuplot-file
Write all measured values out as a 'gnuplot' or TSV (Tab separate values) file. This file can easily be imported into
[url=javascript:;]packages[/url]
like Gnuplot, IDL, Mathematica, Igor or even Excel. The labels are on the first line of the file.
把所有测试结果写入一个'gnuplot'或者TSV (以Tab分隔的)文件。 此文件可以方便地导入到Gnuplot, IDL, Mathematica, Igor甚至Excel中。 其中的第一行为标题。

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:man portupgrade中文版

下一篇:PureFTPd配置文件翻译