1.安装expect yum install expect 2.编写脚本 #!/usr/bin/expect set timeout 10 set username [lindex $argv 0] set host [lindex $argv 1] #{}包起来密码,因为密码中有个“[”会报错,或 Read More
posted @ 2020-05-09 16:59 Mosicol Views(1100) Comments(0) Diggs(0) Edit
Linux系统下生成TPS,ResponseTime曲线图 1.背景 经常在Linux服务器执行压测,结束之后,将压测数据文件导出到Windows的jmeter桌面版本进行处理,有时传输文件较慢。因此有了在Linux系统下处理数据生成png图片的形式,到时统一导出png结果图片。 2.搭建环境 安装 Read More
posted @ 2020-05-09 14:29 Mosicol Views(599) Comments(0) Diggs(0) Edit