網站壓力測試工具----webbench

webbench只能運行在linux下,本人在centOS 6 下測試成功html

命令與編譯linux

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 installweb

若是發現報錯,能夠選擇安裝gcc編譯測試

yum install gcchtm

 

webbench -c 500 -t 30 http://127.0.0.1/index.htmlblog

會得出如下結果get

-----------------------------------------------------------------------------------------------------編譯

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

Benchmarking: GET http://127.0.0.1/index.html
500 clients, running 30 sec.

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

-------------------------------------------------------------------------------cli

相關文章
相關標籤/搜索