??????????linux?μ?????????????????????Щ?????https???????????£?
???????apache??ab????
????/home/webadm/bin/ab -c 50 -n 10000 https://2hei.net/mt/index.html
????SSL not compiled in; no https support
?????????????SSL??б????????????????https
????????apache??flood????
????http://httpd.apache.org/test/flood/
????wget http://www.apache.org/dist/httpd/flood/flood-0.4.tar.gz
???????????https??????????????μ?????????–with-apr –with-apr-util –enable-ssl
?????????????????svn?????
????????????????????????Щ????apr-util????make?????????????
????????web-bench????
????http://freshmeat.net/projects/web-bench/
????./webbench -c 20 -t 10 https://2hei.net/mt/index.html
????Webbench – Simple Web Benchmark 1.5
????Copyright (c) Radim Kolar 1997-2004?? GPL Open Source Software.
????Only HTTP protocol is directly supported?? set –proxy for others.
????????????????????https???
???????http_load??????????????http???????????????????
????http://acme.com/software/http_load/
????./http_load -rate 5 -seconds 10 urls
????./http_load: unknown protocol – https://2hei.net/mt/index.html
??????????????????http_load??????https
?????塢siege????
????http://www.joedog.org/index/siege-home
?????????????https
????./configure –prefix=/home/2hei.net/siege –with-ssl=/usr/include/openssl
?????????÷???
./siege
SIEGE 2.69
Usage: siege [options]
siege [options] URL
siege -g URL
Options:
-V?? –version           VERSION?? prints version number to screen.
-h?? –help              HELP?? prints this section.
-C?? –config            CONFIGURATION?? show the current configuration.
-v?? –verbose           VERBOSE?? prints notification to screen.
-g?? –get               GET?? pull down headers from the server and display HTTP
transaction. Great for web application debugging.
-c?? –concurrent=NUM    CONCURRENT users?? default is 10
-u?? –url=”URL”         Deprecated. Set URL as the last argument.
-i?? –internet          INTERNET user simulation?? hits the URLs randomly.
-b?? –benchmark         BENCHMARK?? signifies no delay for time testing.
-t?? –time=NUMm         TIME based testing where “m” is the modifier S?? M?? or H
no space between NUM and “m”?? ex: –time=1H?? one hour test.
-r?? –reps=NUM          REPS?? number of times to run the test?? default is 25
-f?? –file=FILE         FILE?? change the configuration file to file.
-R?? –rc=FILE           RC?? change the siegerc file to file.  Overrides
the SIEGERC environmental variable.
-l?? –log               LOG?? logs the transaction to PREFIX/var/siege.log
-m?? –mark=”text”       MARK?? mark the log file with a string separator.
-d?? –delay=NUM         Time DELAY?? random delay between 1 and num designed
to simulate human activity. Default value is 3
-H?? –header=”text”     Add a header to request (can be many)
-A?? –user-agent=”text” Sets User-Agent in request
siege -c 20 -r 2 -f url
-c 20 ????20?????
-r 2 ??????2??
-f url ?????б??URL?б?
????????????????????????????https??????????????