apache֮ABѹԲ˵ 

abApacheıЭ(HTTP)ܲԹߡ ͼ浱ǰװApacheִܣ Ҫʾ㰲װApacheÿԴٸ 

Ҫ 

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 <table>-attributes ] [ -X proxy[] ] [ -y <tr>-attributes ] [ -z <td>-attributes ] [http://]hostname[:port]/path 


ѡ 

-A auth-username:password 
ԷṩBASIC֤Ρ ûһ:base64ʽ͡ ۷ǷҪ(, Ƿ401֤)ַᱻ͡ 
-c concurrency 
һβĬһһ 
-C cookie-name=value 
󸽼һCookie:С ʽname=valueһԡ ˲ظ 
-d 
ʾ"percentage served within XX [ms] table"Ϣ(Ϊǰİ汾ṩ֧) 
-e csv-file 
һԶŷָ(CSV)ļ а˴ÿӦٷֱȵҪ(1%100%)Ӧٷֱȵ(΢Ϊλ)ʱ䡣 ָʽѾƻԱ'gnuplot'ʽá 
-g gnuplot-file 
вԽдһ'gnuplot'TSV (Tabָ)ļ ļԷص뵽Gnuplot, IDL, Mathematica, IgorExcelС еĵһΪ⡣ 
-h 
ʾʹ÷ 
-H custom-header 
󸽼ӶͷϢ ˲ĵʽһЧͷϢУаðŷֶָκֵĶ (, "Accept-Encoding: zip/zop;8bit"). 
-i 
ִHEAD󣬶GET 
-k 
HTTP KeepAliveܣ, һHTTPỰִж ĬʱKeepAlive. 
-n requests 
ڲԻỰִе Ĭʱִһ󣬵ͨд塣 
-p POST-file 
ҪPOSTݵļ. 
-P proxy-auth-username:password 
һתṩBASIC֤Ρ ûһ:base64ʽ͡ ۷ǷҪ(, Ƿ401֤)ַᱻ͡ 
-q 
150 abÿԼ10%100ʱstderrһȼ -qǿЩϢ 
-s 
ڱ(ab -hʾϢ)ʹSSLܱhttps httpЭʱ򡣴˹ʵԵģҲǺܼªġòҪá 
-S 
ʾֵͱ׼ֵ ھֵֵΪ׼ֵ12ʱҲʾϢ Ĭʱʾ Сֵ/ֵ/ֵֵ(Ϊǰİ汾ṩ֧). 
-t timelimit 
еڲֵ-n 50000 ʹԷĲһ̶ʱڡĬʱûʱơ 
-T content-type 
POSTʹõContent-typeͷϢ 
-v verbosity 
ʾϢϸ̶ - 4ֵʾͷϢ 3ֵʾӦ(404, 200), 2ֵʾϢ 
-V 
ʾ汾Ų˳ 
-w 
HTMLĸʽĬʱǰɫпȵһű 
-x <table>-attributes 
<table>Եַ Ա<table  >. 
-X proxy[:port] 
ʹô 
-y <tr>-attributes 
<tr>Եַ. 
-z <td>-attributes 
<td>Եַ. 