linux下压力测试软件siege的安装

上一篇 / 下一篇  2016-08-17 16:50:30 / 个人分类:性能测试资料

假定:
1 centos 系统 root登录
2 siege-2.72版本 下载自:http://www.joedog.org
3 openssl 安装路径 /usr/local/ssl
4 使用人员:php开发人员

关于siege的说明请先参考http://www.joedog.org
选择siege的理由:
1 稳定
2 除了对http支持外,还支持https,并且支持的很好,apachebanch 对https支持的不够好。
3 安装简单,功能够开发测试

一、siege的安装
cd /root/
rz
tar -zxvf siege-2.72.tar.gz
cd siege-2.72
./configure --prefix=/usr/local/siege --mandir=/usr/local/man --with-ssl=/usr/local/ssl
mkdir -p /usr/local/siege/etc/
mkdir -p /usr/local/siege/var/
make
make install

创建.siegec.config配置文件到当前用户的家目录下
/usr/local/siege/bin/siege.config
安装完成


查看配置文件
/usr/local/siege/bin/siege -C

CURRENT  SIEGE  CONFIGURATION
JoeDog/1.00 [en] (X11; I; Siege 2.72)
Edit the resource file to change the settings.
----------------------------------------------
version:                        2.72
verbose:                        false
debug:                          false
protocol:                       HTTP/1.1
connection:                     close
concurrent users:               15
time to run:                    n/a
repetitions:                    n/a
socket timeout:                 30
delay:                          1 sec
internet simulation:            false
benchmark mode:                 false
failures until abort:           1024
named URL:                      none
URLs file:            

TAG: 软件 Linux linux

 

评分:0

我来说两句

Open Toolbar