CentOS下Apache 2.x的安装、优化及安全设置(31)
在命令行下输出:
./ab -n number_of_total_requests \
-c number_of_simultaneous_requests \
http://your_web_server/your_php_app.php
例如:
./ab -n 1000 -c 50 /myapp.php
AB将同时向/myapp.php发出5
0个并发请求,共发出1000次。
测试结果将可能是这样的:
Server Software: Apache/2.0.16
Server Hostname: localhost
Server Port: 80
Document Path: /myapp.php
Docu
CentOS下Apache 2.x的安装、优化及安全设置(31).doc
将本文的Word文档下载到电脑

