liunx压力测试工具webbench安装

webbench我觉得使用非常方便,命令简单,结果容易读懂:

 

 安装很方便,直接解压安装就好了:

 

wget http://blog.s135.com/soft/linux/webbench/webbench-1.5.tar.gz
tar zxvf webbench-1.5.tar.gz
cd webbench-1.5
make && make install

 运行:

 

webbench -t 30 -c 500 http://www.3gi.cn/

 表示并发500个用户连续运行30S 去压 http://www.3gi.cn/

 

结果:

 

Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET http://127.0.0.1/test.jpg
500 clients, running 30 sec.

Speed=3230 pages/min, 11614212 bytes/sec.
Requests: 1615 susceed, 0 failed.
 

你可能感兴趣的:(webbench)