???????ab??????????????????????????????????????????????ab -n ???? -c ???? url·?????????ɡ???磬?????λ?????Apache?????????URL?localhost/index.php??????????????????????????1000?????????100(????100???????????????????????1000??)??????????DOS????ab -n 1000 -c 100 localhost/index.php???????????£?
F:Apache2.2in>ab -n 1000 -c 100 localhost/index.php
This is ApacheBench?? Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss?? Zeus Technology Ltd?? http://www.zeustech.net/
Licensed to The Apache Software Foundation?? http://www.apache.org/
Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software:        Apache/2.2.25 (???????????????汾???)
Server Hostname:        localhost (????????????)
Server Port:            80 (?????????)
Document Path:          /index.php (???????URL·??)
Document Length:        10 bytes (???????URL??????????С)
Concurrency Level:      100 (??????)
Time taken for tests:   0.247 seconds (?????????????????)
Complete requests:      1000 (?????????????)
Failed requests:        0 (??????????)
Write errors:           0 (????????д???????)
Total transferred:      198000 bytes (?????????????)
HTML transferred:       10000 bytes (HTML?????????????)
Requests per second:    4048.34 [#/sec] (mean) (?????????????)
Time per request:       24.701 [ms] (mean) (???в??????(??????100)????????ε???????)
Time per request:       0.247 [ms] (mean?? across all concurrent requests) (?????????????ε???????)
Transfer rate:          782.78 [Kbytes/sec] received (???????????λ??KB/s)
Connection Times (ms)
min  mean[+/-sd] median   max
Connect:        0    0   0.3      0       1
Processing:     6   23   4.2     24      30
Waiting:        5   20   5.3     21      29
Total:          6   23   4.2     24      30
Percentage of the requests served within a certain time (ms)
50%     24
66%     25
75%     26
80%     26
90%     27
95%     27
98%     28
99%     29
     30 (longest request)
???????????????У?????????????????????????????????????÷??????о????????????????????????????????????????????????ab -n 100000 -c 1000 localhost/index.php????????apache?????——??????????
????F:Apache2.2in>ab -n 100000 -c 1000 localhost/index.php
????This is ApacheBench?? Version 2.3 <$Revision: 655654 $>
????Copyright 1996 Adam Twiss?? Zeus Technology Ltd?? http://www.zeustech.net/
????Licensed to The Apache Software Foundation?? http://www.apache.org/
????Benchmarking localhost (be patient)
????Test aborted after 10 failures
????apr_socket_connect(): ????????????????????????????