13
2025
03
11:27:42

VPS性能测试脚本合集

提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档


文章目录

  • 前言

  • VPS测试脚本合集


    • 1.bench脚本

    • 2.superbench脚本

    • 3.Zbench

    • 4.yabs.sh

    • 5.HyperSpeed

    • 6.超开检测器

    • 7.Geekbench

    • 8.UnixBench

    • 9.综合脚本

  • 总结



前言

最近正值双十一和黑五,淘了几台VPS,顺便整理一下测试脚本,持续更新

使用前需要先在VPS上安装wget

CentOS/RHEL:

sudo yum install wget

Ubuntu/Debian:

sudo apt install wget

VPS测试脚本合集

1.bench脚本

wget -qO- bench.sh | bash

若没有反应则用:

wget -qO bench.sh https://bench.shbash bench.sh

测试效果:

2.superbench脚本

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

测试效果:

3.Zbench

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

测试效果:

4.yabs.sh

curl -sL yabs.sh | bash

测试效果:

5.HyperSpeed

bash <(wget -qO- https://bench.im/hyperspeed)

测试效果:

6.超开检测器

监测服务器当前可用的内存,判断商家是否超开
CentOS / RHEL:

yum install wget -y
yum groupinstall "Development Tools" -y
wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cppgcc -l stdc++ memtester.cpp./a.out

Ubuntu / Debian:

apt-get update
apt-get install wget build-essential -y
wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cppgcc -l stdc++ memtester.cpp./a.out

测试效果:

还剩370M可用,应该没有超开

7.Geekbench

# 首先,使用 wget 命令下载适用于 CentOS 的 Geekbench 5.2.3 安装包:
wget https://cdn.geekbench.com/Geekbench-5.2.3-Linux.tar.gz# 下载完成后,解压缩下载的安装包:
tar -xzf Geekbench-5.2.3-Linux.tar.gz
# 进入解压后的目录:
cd Geekbench-5.2.3-Linux
# 最后,运行Geekbench 5.2.3安装程序:./geekbench5

测试效果:

在浏览器中输入URL以查看结果

白嫖的服务器性能果然一般

8.UnixBench

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

测试效果:

9.综合脚本

wget git.io/vpstest && bash vpstest

测试效果:

总结

感谢编写这些脚本的大佬,希望我的整理能让你更方便的测试你的服务器。




推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

本文链接:https://sg.hqyman.cn/post/9498.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:
打赏





休息一下~~


« 上一篇 下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

请先 登录 再评论,若不是会员请先 注册

您的IP地址是: