先clone回来

git clone https://github.com/httperf/httperf  

准备环境,编译安装

yum install lib-tools  
cd httperf  
mkdir m4  
autoreconf -i  
autoconf configure.ac  
./configure
make  

测试一把,参数不是一般的多啊

./httperf --server 192.168.92.151 --ssl --server-name abc.xyz.com  --rate 10 --num-conns=500
comments powered by Disqus