13

2026常用 VPS 测速 / 跑分 / 网络检测脚本(附 GitHub 地址)

托尼tong
·1小时前

适用场景:买完 Linux VPS 后想快速看 配置信息 + CPU/磁盘 IO + 上下行带宽 + 回程路由/延迟,以及是否需要 流媒体解锁

提醒:以下大部分脚本建议只在 新机/测试机 跑;curl … | bash 风格请在可信脚本 & 可信网络下使用。


1)YABS(Yet Another Bench Script)— 最常用“综合跑分”

测什么:基本信息、磁盘 fio、带宽(iperf3 多节点)、以及可选的 Geekbench

bash
curl -sL yabs.sh | bash # 或 wget -qO- yabs.sh | bash

2)bench.sh(秋水逸冰版)— 信息 + 多点下行 + 磁盘 IO

测什么:系统信息、全球多点 下载测速、IPv6、磁盘 dd IO(三次均值)。不测上传。

bash
wget -qO- bench.sh | bash # 或 curl -Lso- bench.sh | bash

3)LemonBench — “测速 + 路由”一条龙(偏老但仍在用)

测什么:系统信息、下载测速、TCP 拥塞/虚拟化信息、部分地区路由相关输出等(不同分支/版本功能略有差异)。

bash
# 常见用法之一 wget -O- https://ilemonrain.com/download/shell/LemonBench.sh | bash # 或 curl -fsL https://ilemonrain.com/download/shell/LemonBench.sh | bash

4)“融合怪 / ecs”类整合脚本(含 IP 质量/路由/解锁思路)

这类脚本不是单一仓库能概括(很多人直接用发布页一行命令),其中 spiritLHLS/ecs 是社区里最常引用的“综合测评框架”之一:

bash
curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh \ && chmod +x ecs.sh && bash ecs.sh

注:它有时会调用其他组件/子脚本,跑之前看一眼终端提示即可。


5)纯“上行/下行带宽”:speedtest-cli(官方兼容 CLI)

测什么:到 Speedtest.net 节点的 下载 / upload,适合你想拿一个“公认可对照”的带宽值。

bash
# Python 版(最常见) pip install speedtest-cli speedtest-cli

6)从“全球探针”测你的 VPS:Globalping CLI(反向视角)

测什么:让别人家网络 ping/mtr/traceroute/http/dns 到你(或从指定地区测你),用来判断 对外可达性/Anycast/路由质量

bash
# Debian/Ubuntu 例 curl -s https://packagecloud.io/install/repositories/jsdelivr/globalping/script.deb.sh | sudo bash apt install globalping globalping ping 你的VPS_IP --from "Shanghai" --limit 2

7)(可选)流媒体解锁检测

如果你想顺便看 Netflix/Disney+/ChatGPT 等是否能解锁:

bash
bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)

这个楼主还没有留下简介。

回复讨论
0

登录后可参与回复讨论。

当前还没有回复,欢迎成为第一个参与讨论的人。

文明发言,理性讨论