不合格的程序猿
分类: LINUX
2015-12-14 15:54:50
1、适用系统:Linux
2、编译安装:
1. wget http://blog.s135.com/soft/linux/webbench/webbench-1.5.tar.gz
2. tar zxvf webbench-1.5.tar.gz
3. cd webbench-1.5
4. make && make install
3、使用:
1. webbench -c 3000 -t 30
参数说明:-c表示并发数,-t表示持续时间(秒)
4、测试结果示例:
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.
来自:http://www.52crack.com/blog/?action=show&id=143