網站壓力測試工具webbench安裝和使用

參考文章: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.5
Copyright (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



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章