[VPS] 基于大佬的脚本写了一个 vps 测速脚本
有兴趣的朋友可以试一下呀 仓库地址在这里 链接 # 这是大佬的脚本 很好用 用了好多年了 wget -qO- git.io/superbench.sh | bash # vibe coding 然后测试了我自己的几个 vps 都没毛病 curl -fsSL https://raw.githubusercontent.com/Helloyryr/vps-bench-script/main/superbench.sh | bash 大佬的脚本今天看来有哪些小问题呢 Python 2 已经退役(导致 IP 信息和 Fast.com 测速失效): 脚本里写的是检测 /usr/bin/python,并通过 apt/yum install python 安装。 现在的 Linux 发行版默认只有 python3,软件源里甚至已经彻底移除了 python( Python 2 )这个包。这会导致后面的 python tools.py(查 IP 归属地和 ASN )以及 python fast_com_example_usage.py 直接报错跳过。 国内测速节点 ID 大面积失效: 在 print_speedtest 函数里,写死了 2020 年的十几个 Speedtest 节点 ID (比如 27377 北京电信、24447 上海联通等)。 经过这么多年,国内运营商的 Speedtest 测速服
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.