压力测试webbench

[root@study ~]# wget http://blog.s135.com/soft/linux/webbench/webbench-1.5.tar.gz
[root@study ~]# tar zxf webbench-1.5.tar.gz
[root@study ~]# cd webbench-1.5
[root@study webbench-1.5]# make && make install
 
[root@study ~]# webbench -c 300 -t 30 http://www.example.com
参数说明:-c表示并发数,-t表示时间(秒)
 
[root@study ~]# webbench -c 300 -t 30 http://www.example.com/forum.php
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.
Benchmarking: GET http://www.example.com/forum.php
300 clients, running 30 sec.
Speed=6318 pages/min, 350844 bytes/sec.
Requests: 3159 susceed, 0 failed.

 

 

你可能感兴趣的:(Web,压力测试,30)