安装、测试 Web Bench

Web Bench的安装依赖于ctags

首先安装 ctags

> wget http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz
> tar zxvf ctags-5.8.tar.gz
> cd ctags-5.8
> ./configure
> make && make install


再安装Web Bench

> wget http://www.linuxidc.com/system/systembak/webbench/webbench-1.5.tar.gz
> tar zxvf webbench-1.5.tar.gz
> cd webbench-1.5
> make && make install

根据提示,创建Web Bench所需的目录
mkdir /usr/local/man/man1

测试
> webbench -c 10 -t 10 http://www.baidu.com/


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

Benchmarking: GET http://www.baidu.com/
10 clients, running 10 sec.

Speed=9324 pages/min, 1577158 bytes/sec.
Requests: 1553 susceed, 1 failed.

你可能感兴趣的:(安装,测试,Web Bench)