平时购买VPS的时候,难免会碰到性能或网络较差的VPS。
为避免买到这种小鸡,使用一键测试脚本是必不可少的。
下面将总结一些VPS常见的测试脚本,方便朋友们使用。
Linux VPS综合测试:
SuperBench.sh
GitHub地址:https://github.com/oooldking/script/
作者地址:https://www.oldking.net/350.html
使用:
wget -qO- --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash
或
curl -Lso- -no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash
Bench.sh
GitHub地址:https://github.com/teddysun/across
作者地址:https://teddysun.com/444.html
使用:
wget -qO- bench.sh | bash
curl -Lso- bench.sh | bash
ZBench.sh
GitHub地址:https://github.com/FunctionClub/ZBench
中文版使用:
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
A,I/O bench and system info
GitHub地址:https://github.com/Aniverse/A
使用:
bash -c "$(wget -qO- https://github.com/Aniverse/A/raw/i/a)"
bash <(wget -qO- https://github.com/Aniverse/A/raw/i/a)
bash <(curl -s https://raw.githubusercontent.com/Aniverse/A/i/a)
wget -q https://github.com/Aniverse/A/raw/i/a && bash a
No IP bash <(wget -qO- https://github.com/Aniverse/A/raw/i/a) -a
No IPIP bash <(wget -qO- https://github.com/Aniverse/A/raw/i/a) -b
No IOtest bash <(wget -qO- https://github.com/Aniverse/A/raw/i/a) -c
No IPIP & IOtest bash <(wget -qO- https://github.com/Aniverse/A/raw/i/a) -bc
B,sysctl info
bash -c "$(wget -qO- https://github.com/Aniverse/A/raw/i/b)"
bash <(curl -s https://raw.githubusercontent.com/Aniverse/A/i/b)
wget -q https://github.com/Aniverse/A/raw/i/b && bash b
VPS网速测试:
SuperSpeed.sh
GitHub地址:https://github.com/oooldking/script/
作者地址:https://www.oldking.net/305.html
使用:
wget https://raw.githubusercontent.com/oooldking/script/master/superspeed.sh && chmod +x superspeed.sh && ./superspeed.sh
speedtest-net测速:
GitHub地址:https://github.com/sivel/speedtest-cli
使用:
wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py --no-check-certificate
chmod +x speedtest-cli
./speedtest-cli
或者
curl -Lo speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py --no-check-certificate
chmod +x speedtest-cli
./speedtest-cli
VPS路由测试:
回程测试
GitHub地址:https://github.com/nanqinlang-script/testrace
使用:
wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh && bash testrace.sh