author :James,jimingsong@vip.qq.com
author :James,jimingsong@vip.qq.com
since :2015-03-02
- tsung介绍
tsung是用erlang开发的一款简单易用的压力测试工具,可以生成成千上万的用户模拟对服务器进行访问. - 安装(yun)
- 配置yun源
touch /etc/yum.repos.d/bizsov.repo
[bizosv]
name=bizsov-centos- - centos
baseurl=http://download.bizsov.com/
gpgkey=http://mirrors.sohu.com/centos/$releasever/os/$basearch/RPM-GPG-KEY-CentOS-$releasever
gpgcheck=0
enable=1[centos]
name=centos- -mirrors.sohu.com
baseurl=http://centos.ustc.edu.cn/centos/$releasever/os/$basearch/
gpgkey=http://mirrors.sohu.com/centos/$releasever/os/$basearch/RPM-GPG-KEY-CentOS-$releasever
gpgcheck=0
enable=1[centos-update]
name=centos-update - -mirrors.sohu.com
baseurl=http://centos.ustc.edu.cn/centos/$releasever/updates/$basearch/
gpgkey=http://mirrors.sohu.com/centos/$releasever/updates/$basearch/RPM-GPG-KEY-CentOS-$releasever
gpgcheck=0
enable=1[epel]
name=epel- - epel
baseurl=http://centos.ustc.edu.cn/epel/$releasever/$basearch/
gpgkey=http://mirrors.sohu.com/fedora-epel/RPM-GPG-KEY-EPEL-$releasever
gpgcheck=0
enable=1[epel-testing]
name=epel-testing- - epel-testing
baseurl=http://centos.ustc.edu.cn/epel/testing/$releasever/$basearch/
gpgkey=http://mirrors.sohu.com/fedora-epel/RPM-GPG-KEY-EPEL-$releasever
gpgcheck=0
enable=1
- 配置yun源
- 安装Tsung
#形成图形报表,产生png图片
yum install gnuplot -y#安装Tsung
yum install -y tsung
- 常用命令
#Tsung
#版本信息
tsung -v
Tsung version 1.5.1
#