分享几个常用的Linux服务器测试脚本

wget -qO- bench.sh | bash

ZjeOK.md.png

国内主要运营商测速脚本
https://github.com/ernisn/superspeed

bash <(curl -Lso- https://git.io/superspeed)

Jdh5Js.png

另外一个

wget -qO- git.io/superbench.sh | bash

C7loUf.md.png

使用参数的方法:

wget git.io/superbench.sh; chmod +x superbench.sh
./superbench.sh info
./superbench.sh io
./superbench.sh speed
./superbench.sh share

这个脚本主要测试中国网络运营商的上传和下载速度
怀恋上一版的请使用:

wget -qO- git.io/superbench_old.sh | bash

作者网站
https://www.oldking.net/599.html

再加一个测试脚本, 这个脚本对全球各地区都有比较详细的网络测试

curl -LsO git.io/bench.sh; chmod +x bench.sh && ./bench.sh -a share

还有一个
中文版:

wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh && bash ZBench-CN.sh

英文版:

wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench.sh && bash ZBench.sh

ZONXl.md.png

如果单纯的网络测速可以使用wget命令

wget -O /dev/null http://ping.online.net/1000Mo.dat

wget -O /dev/null参数的命令是指直接丢弃, 这样可以避免硬盘读写速度的问题.