vps机器检测脚本汇总合集--机器检测脚本

vps机器检测脚本汇总合集--机器检测脚本

购买新机器以后,都养成先查看机器的各种性能如何,所以汇总一下各家的脚本代码:

Bench.sh

秋水逸冰大佬的写的Bench.sh脚本

特点

  • 显示当前测试的各种系统信息;
  • 取自世界多处的知名数据中心的测试点,下载测试比较全面;
  • 支持 IPv6 下载测速;
  • IO 测试三次,并显示平均值。

使用

wget -qO- bench.sh | bash
#或者
curl -Lso- bench.sh | bash
#或者
wget -qO- 86.re/bench.sh | bash
#或者
curl -so- 86.re/bench.sh | bash

SuperBench.sh

老鬼大佬的SuperBench测试脚本

特点

  • 改进了显示的模式,基本参数添加了颜色,方面区分与查找。
  • I/O测试,更改了原来默认的测试的内容,采用小文件,中等文件,大文件,分别测试IO性能,然后取平均值。
  • 速度测试替换成了 Superspeed 里面的测试,第一个默认节点是,Speedtest 默认,其他分别测试到中国电信,联通,移动,各三个不同地区的速度。
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/superb

LemonBench.sh

LemonBench工具(别名LBench、柠檬Bench),是一款针对Linux服务器设计的服务器性能测试工具。通过综合测试,可以快速评估服务器的综合性能,为使用者提供服务器硬件配置信息。

特点

  • 服务器基础信息(CPU信息/内存信息/Swap信息/磁盘空间信息等)
  • Speedtest网速测试 (本地到最近源及国内各地域不同线路的网速)
  • 磁盘测试(4K块/1M块 直接写入测试)
  • 路由追踪测试(追踪到国内和海外不同线路的路由信息)
  • Spoofer测试(获取详细网络信息,快速判断服务器接入线路)

使用

curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast

内存检测脚本

FunctionClub大佬作品,本程序检测的可分配内存指的是用户使用时最大能占用的内存量。

特点

  • 检测VPS真实可分配内存,适用于检测VPS超售情况

使用

#CentOS / RHEL
yum install wget -y
yum groupinstall "Development Tools" -y
wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp
gcc -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.cpp
gcc -l stdc++ memtester.cpp
./a.out

uPing

FunctionClub大佬作品,测试阶段,请勿用于生产环境!

特点

  • 一个24小时监测VPS延迟的工具

使用

依赖安装

#Debian / Ubuntu
apt-get update
apt-get install python wget screen -y
#CentOS / RHEL
yum install screen wget python -y

执行

screen -S uping
wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/uPing/master/uping.py
python uping.py

Besttrace4Linux

回程路由测试-IPIP.net出品

特点

  • Linux(X86/ARM)/Mac/BSD 系统环境下发起 traceroute 请求
  • 附带链路可视化
  • 兼容性强
  • 支持 JSON 格式

使用

#下载
wget http://cdn.ipip.net/17mon/besttrace4linux.zip
#解压
unzip besttrace4linux.zip
#授权
chmod +x besttrace
#使用
./besttrace -q 1 这里是目标IP

如果是64位系统则直接besttrace替换besttrace32

Speedtest-Cli

国外大佬Sivel作品

特点

  • 测试网络上传/下载速率的一款工具
  • Python2.4至3.4版本下均可运行

使用

#下载
wget https://raw.github.com/sivel/speedtest-cli/master/speedtest.py
#添加权限
chmod a+rx speedtest.py
#执行
python speedtest.py

如果是64位系统则直接besttrace替换besttrace32

mPing.sh

Mr.zou大佬写的脚本

特点

  • 方便测试回程Ping值
  • 目前支持众多区域和各大运营商

使用

wget https://raw.githubusercontent.com/helloxz/mping/master/mping.sh
bash mping.sh

Superspeed.sh

老鬼大佬的Superspeed测试脚本

特点

  • 一键全面测速功能
  • 测试服务器到全国北方南方,电信,联通,移动的速度

使用

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

Ping.pe

这个是瓦工出品的丢包测试,可以看到各运营商的丢包数据

直接输入网址:www.ping.pe

全媒体测试

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

奈飞测试

wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.5/nf_2.5_linux_amd64 && chmod +x nf && clear && ./nf

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

# 第二个
bash <(curl -sSL “https://github.com/CoiaPrant/MediaUnlock_Test/raw/main/check.sh”)

综合工具箱(强烈推荐,集成了很多脚本)

wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
© 版权声明
THE END
喜欢就支持一下吧
点赞15 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容