汇总一些测试工具,免得每次都要去百度。

2018年9月20日更新
一键测试服务器到国内的速度脚本Superspeed.sh
wget https://raw.githubusercontent.com/oooldking/script/master/superspeed.sh
chmod +x superspeed.sh
./superspeed.sh

 

一键检测VPS的CPU、内存、负载、IO读写、机房带宽等脚本:bench.sh
命令1:
wget -qO- bench.sh | bash
或者
curl -Lso- bench.sh | bash

命令2:
wget -qO- 86.re/bench.sh | bash
或者
curl -so- 86.re/bench.sh | bash

备注:
bench.sh 既是脚本名,同时又是域名。如果以上失效,请使用以下地址下载再执行脚本:
下载地址:
https://github.com/teddysun/across/blob/master/bench.sh

 

可以看作bench.sh强化版:SuperBench.sh

新增 Virt 检测服务器类型参数。常见 openvz,kvm,独服都能检测出来。同时整合上面的Superspeed.sh一键测试服务器到国内的速度脚本:

wget -qO- https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash

curl -Lso- https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash

 

一键带宽检测工具:speedtest-cli

安装:

pip install speedtest-cli

 

使用方法:

speedtest-cli
#后面也可以接以下参数:
-h, --help show this help message and exit 
--share 分享你的网速,该命令会在speedtest网站上生成网速测试结果的图片。 
--simple Suppress verbose output, only show basic information 
--list 根据距离显示speedtest.net的测试服务器列表。 
--server=SERVER 指定列表中id的服务器来做测试。 
--mini=MINI URL of the Speedtest Mini server 
--source=SOURCE Source ip address to bind to 
--version Show the version number and exit

 

VPS性能综合跑分工具:unixbench
wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh
chmod +x unixbench.sh
./unixbench.sh

 

一键测试回程Ping值工具:mPing
wget https://raw.githubusercontent.com/helloxz/mping/master/mping.sh
bash mping.sh

 

Serverreview-benchmark综合评测工具

这是一个老外写的VPS主机综合评测工具,主要评测的项目有VPS主机磁盘IO、内存读写、CPU性能以及Benchmark性能,还有美国、欧洲、亚洲等不同节点的下载速度。主页:https://github.com/sayem314/serverreview-benchmark

使用方法:

#简略版
yum install curl -y
curl -LsO git.io/bench.sh; chmod +x bench.sh && ./bench.sh -a share
#完整版
yum install curl -y
curl -LsO git.io/bench.sh; chmod +x bench.sh && ./bench.sh -a share 

 

自建speedtest测试

这个适合VPS主机商,方便给客户测试从服务器到用户本地的下载速度。

项目主页:https://github.com/adolfintel/speedtest

修改版本:https://www.ucblog.net/wzfou/speedtest-lite.zip

将程序上传到服务器上,客户打开后点击就可以测试得到服务器的速度了。


 

 

来源:https://wzfou.com/vps-ceping-gongju/


本文被阅读了:3,375次

作者头像
关于  Ailitonia

正因站在了巨人的肩膀上,才越发觉得自己渺小。不求成为巨人,但求与其同行。 把自己所见所闻,记录下来。

→查看所有由Ailitonia发布的文章