Web???????????????ApacheBench???
???????????? ???????[ 2013/9/23 15:20:48 ] ????????
????????????session????????? JSESSIONID?????? ???????????????
-C ” c1=1234??c2=2??c3=3?? JSESSIONID=FF056CD16DA9D71CB131C1D56F0319F8″ ?? -H attribute Add Arbitrary header line?? eg. ‘Accept-Encoding: gzip’ 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. |
????//-P proxy-auth-username:password ??????????????BASIC??????Ρ?????????????????:?????????base64???????????????????????????(???? ???????401??????????)??????????????????
-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) |
????//-attributes ??????????????. ?????????и????????????????????????????????????в??????????????????????????????????????????????в?????????????????????? HTTP/1.x; ???????Щ’???’?????????? strstr(3)?????????????????????????????????????ab??????????????????
???????????????????? -c ?? -n ???????????????:
????# ab -c 5000 -n 600http://127.0.0.1/index.php
????ApacheBench?÷????
??????Linux??????????Apache??????????У?
????# ab -n 4000 -c 1000 http://www.ha97.com/
?????????Win???£???cmd?????д????cd??apache???????bin???£?
????-n?????4000???????????4000??????-c?????1000???????1000???????????1000????????????????????????????????URL??
????????????????????????????
??????
![](/images/ad-banner/ad-banner.png)
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11