webbench只能运行在linux下,本人在centOS 6 下测试成功
命令与编译
wget
tar zxvf webbench-1.5.tar.gzcd webbench-1.5make && make install如果发现报错,可以选择安装gcc编译
yum install gcc
webbench -c 500 -t 30
会得出以下结果
-----------------------------------------------------------------------------------------------------
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.Benchmarking: GET 500 clients, running 30 sec.Speed=3230 pages/min, 11614212 bytes/sec.Requests: 1615 susceed, 0 failed.-------------------------------------------------------------------------------