????????????????node??????Щ?????????????????????????????????????????????????????????????????????
??????????????λ??node????????api??????????????????????С?????????????ж?????????????濼??????Щ?????????????????????????????????????siege?????????????
??????????
??????????????????FreeBSD???????????????http://download.joedog.org/siege/siege-latest.tar.gz
????tar zxvf siege-latest.tar.gz
????cd siege-3.0.9
????./configure
????make & make install
?????????????
????????????????
/usr/local/siege/bin/siege -c
CURRENT SIEGE CONFIGURATION
Mozilla/5.0 (unknown-x86_64-freebsd10.0) Siege/3.0.9
Edit the resource file to change the settings.
----------------------------------------------
version: 3.0.9
verbose: true
quiet: false
debug: false
protocol: HTTP/1.1
get method: HEAD
connection: close
concurrent users: 15
time to run: n/a
repetitions: 100
socket timeout: 30
accept-encoding: gzip
delay: 1 sec
internet simulation: false
benchmark mode: false
failures until abort: 1024
named URL: http://matouapp.ymatou.com/forymatouapp/home
URLs file: /etc/urls.txt
logging: true
log file: /var/siege.log
resource file: /root/.siegerc
timestamped output: false
comma separated output: false
allow redirects: true
allow zero byte data: true
allow chunked encoding: true
upload unique files: true