VPN技术 · 2023年11月24日

VPS性能和网速测试方法汇总

使用VPS性能测试脚本可以像电脑跑分一样对VPS进行性能测试。下面是一些常用的VPS测试脚本,你只需要连接到VPS并复制粘贴以下命令,即可自动测试VPS的磁盘读写和网速,为你提供一个简单的性能和网速参考。

测试脚本使用方法

通过ssh登录vps后,选取你想要运行的测试脚本,脚本会自动对服务器VPS的硬件性能和网速进行测试。

VPS性能网速测试脚本大全

下面是一些常用的VPS性能测试脚本,你可以随便选择一个使用。

UnixBench性能跑分脚本

UnixBench是一个开源工具,用于测试linux系统主机的性能。它的主要测试项目有系统调用、读写、进程、2D、3D、管道、运算等。以下是使用最新版UnixBench5.1.3进行测试的命令:

wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh chmod +x unixbench.sh ./unixbench.sh

ZBench

ZBench是一个用于测试VPS硬件型号、磁盘IO、下载速度和上传速度的脚本。以下是使用ZBench进行测试的命令:

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

Superspeed

Superspeed是一个测试VPS网速的脚本,它利用Speedtest测试VPS到国内不同省市的速度。以下是使用Superspeed进行测试的命令:

wget https://raw.githubusercontent.com/oooldking/script/master/superspeed.sh && chmod +x superspeed.sh && ./superspeed.sh

bench.sh

bench.sh是一个全面适用于各种Linux发行版的网络和IO测试脚本。以下是使用bench.sh进行测试的命令:

wget -qO- bench.sh | bash

SuperBench.sh

SuperBench是一个整合了bench脚本的VPS测速脚本。以下是使用SuperBench进行测试的命令:

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

Aniverse

Aniverse是一个测试VPS性能的脚本。以下是使用Aniverse进行测试的命令:

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

手动测试VPS网速

除了使用脚本测试VPS网速外,你还可以手动ping服务器IP来测试网速稳定性。

VPS回程路由测试

一些VPS的网络去程和回程线路可能不一样,你可以在VPS上测试回程路由。以下是测试回程路由的命令:

wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh bash testrace.sh

About The Author

OpenMagic API

Need more than content? Move into the product flow.

If you are here for model access, pricing, developer docs, or the future API console, the dedicated product path now lives on api.openmagic.ai.