网站压力测试工具webbench安装和使用

来源:互联网 发布:寅时三刻网络 编辑:程序博客网 时间:2024/05/17 17:14

参考文章:http://blog.csdn.net/cnbird2008/article/details/6072428

1、安装ctags


[root@portal1 ~]# wget http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz [root@portal1 ~]# tar zxf ctags-5.5.tar.gz [root@portal1 ~]# cd /usr/ctags-5.5[root@portal1 ~]# ./configure[root@portal1 ~]# make[root@portal1 ~]# make install

2、下载webbench

[root@portal1 ~]# wget http://home.tiscali.cz/~cz210552/distfiles/webbench-1.5.tar.gz[root@portal1 ~]# tar zxvf webbench-1.5.tar.gz[root@portal1 ~]# cd webbench-1.5

 3、安装webbench

[root@portal1 ~]# make [root@portal1 ~]# make install

 4、使用webbench

[root@portal1 ~]# webbench -c 500 -t 30 http://www.baidu.com/Webbench - Simple Web Benchmark 1.5Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.Benchmarking: GET http://61.50.245.142:8070/500 clients, running 30 sec.Speed=403798 pages/min, 57020792 bytes/sec.Requests: 201899 susceed, 0 failed



0 0
原创粉丝点击