项目地址 :https://github.com/EZLippi/WebBench

CentOS

安装git:

yum -y install git
拉取WebBench项目文件:

git clone https://github.com/EZLippi/WebBench.git
进入到WebBench目录:

cd WebBench
安装:

make
make install
安装完成后可以使用命令查看该工具支持的参数:

webbench

 

使用命令

webbench -c 8000 -t 120 http://www.test.com