1、安装
ubuntu:apt-get install apache2-utils
centos:yum install httpd-tools
2、运行
ab -n 1000 -c 10 http://www.csdn.net/
-n:总请求次数
-c:并发连接数
1、安装
ubuntu:apt-get install apache2-utils
centos:yum install httpd-tools
2、运行
ab -n 1000 -c 10 http://www.csdn.net/
-n:总请求次数
-c:并发连接数