httperf简明安装和使用范例
httperf简要安装和使用范例
很久之前记录的工作日志,备忘
HTTPERF
1. 下载安装文件
ftp://ftp.hpl.hp.com/pub/httperf/
2. 编译&安装
$./configure
$make
$sudo make install
缺省安装在目录/usr/local/bin下
3.测试例子
$httperf --server 10.1.252.163 --port 80 --num-conns 2000 --rate 100 --timeout 2
$httperf --server 10.1.252.163 --port 80 --num-conns 20000 --rate 100 --timeout 2
GnuPlot
将测试结果生成可视化的图
1. 下载安装文件
2. 编译&安装
AutoBench
1. 下载安装文件
http://www.xenoclast.org/autobench/
2. 编译&安装
$make
$sudo make install
缺省安装在目录/usr/local/bin下
3.测试例子
$autobench --single_host --host1 127.0.0.1 --port1 8888 --uri1 /countlog.gif --quiet \
--low_rate 20 --high_rate 200 --rate_step 20 --num_call 10 \
--num_conn 5000 --timeout 5 --file results.tsv