使用Apache ab进行压力测试

安装  [ubuntu]
apt-get install apache2-utils

压力测试
ab -n100 -c20 http://localhost/index.php

并发20个请求,总共发送100个请求。

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注