Linux系统VPS云服务器网络速度性能测试一键脚本分享

收集的一些常用的测试脚本部分经过实际测试,基本可以正常使用,关于脚本测试出来数据的准确性,需要自行甄别,仅供参考。

本站所收集的一键脚本均来自网络,不对其收集的脚本负责,请注意保管并备份资料,建议多尝试几个脚本进行测试。

Linux系统VPS云服务器网络速度性能测试一键脚本分享
  • 附件下载测试
CacheFly 亚太 - 100MB
wget -O /dev/null http://cachefly.cachefly.net/100mb.test

Online 法国 - 1000MB
wget -O /dev/null http://ping.online.net/1000Mo.dat

Online 荷兰 - 1000MB
wget -O /dev/null http://ping-ams1.online.net/1000Mo.dat
  • 秋水逸冰硬件信息/带宽测试

测试VPS基础信息,以及下载速度,来自秋水逸冰:https://bench.sh/

wget -qO- bench.sh | bash
  • 老鬼硬件信息/带宽测试

主要包括VPS硬件信息,国内节点测试,电信、联通、移动,来自老鬼

wget -qO- git.io/superbench.sh | bash
  • ZBench硬件信息/带宽测试

基于superbench脚本,增加了路由和ping测试,区别中英文,Github项目:https://github.com/FunctionClub/ZBench

#中文版
wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh && bash ZBench-CN.sh
#英文版
wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench.sh && bash ZBench
  • 国内Ping及回程路由测试
wget https://raw.githubusercontent.com/helloxz/mping/master/mping.sh
bash mping.sh
  • 硬件信息及写入测试
wget -q https://github.com/Aniverse/A/raw/i/a && bash a
  • 国内三网上传下载测试

全面的国内三网上传下载测试,GitHub项目:https://github.com/sunpma/Speedtest

bash <(curl -Lso- https://git.io/J1SEh)
# 或者
bash <(curl -Lso- https://cdn.jsdelivr.net/gh/sunpma/Speedtest/speedtest.sh)
  • 三网回程路由测试
bash <(curl -sL mcnb.top/route.sh)
# 或
wget -O route.sh mcnb.top/route.sh && bash route.sh
  • LemonBench硬件信息/流媒体等综合测试

服务器基础信息 (CPU信息/内存信息/Swap信息/磁盘空间信息/网络信息等),流媒体解锁测试 (目前支持HBO Now/动画疯/B站港澳台/B站台湾限定),系统性能测试 (CPU/内存/磁盘),Speedtest网速测试 (本地到最近源及国内各地域不同线路的网速),路由追踪测试 (追踪到国内和海外不同线路的路由信息),作者:https://blog.ilemonrain.com/linux/LemonBench.html

### 快速测试
wget -qO- http://ilemonra.in/LemonBenchIntl | bash -s fast
# 或者
curl -fsSL http://ilemonra.in/LemonBenchIntl | bash -s fast

### 完整测试
wget -qO- http://ilemonra.in/LemonBenchIntl | bash -s full
# 或者
curl -fsSL http://ilemonra.in/LemonBenchIntl | bash -s full

### 分类测试
# 磁盘测试(快速测试模式)
bash <(wget -qO- https://ilemonra.in/LemonBenchIntl) --dtfast

# 磁盘测试(完整测试模式)
bash <(wget -qO- https://ilemonra.in/LemonBenchIntl) --dtfull

# 宽带测试(快速测试模式)
bash <(wget -qO- https://ilemonra.in/LemonBenchIntl) --spfast

# 宽带测试(完整测试模式)
bash <(wget -qO- https://ilemonra.in/LemonBenchIntl) --spfull

# Traceroute测试(快速测试模式)
bash <(wget -qO- https://ilemonra.in/LemonBenchIntl) --trfast

# Traceroute测试(完整测试模式)
bash <(wget -qO- https://ilemonra.in/LemonBenchIntl) --trfull

# CPU基准测试(快速测试模式)
bash <(wget -qO- https://ilemonra.in/LemonBenchIntl) --sbcfast

# CPU基准测试(完整测试模式)
bash <(wget -qO- https://ilemonra.in/LemonBenchIntl) --sbcfull

# 内存基准测试(快速测试模式)
bash <(wget -qO- https://ilemonra.in/LemonBenchIntl) --sbmfast

# 内存基准测试(完整测试模式)
bash <(wget -qO- https://ilemonra.in/LemonBenchIntl) --sbmfull
  • CPU跑分测试

CPU性能测试,运行到测试结束会慢一些,耐心等待测试完成

wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh && chmod +x unixbench.sh && ./unixbench.sh
  • Geekbench跑分测试

Geekbench 4及Geekbench 5跑分测试,Github项目:https://github.com/masonr/yet-another-bench-script

# 完整项目测试
curl -sL yabs.sh | bash

# 项目参数测试
## 添加需要的参数
curl -sL yabs.sh | bash -s -- -{fdighr49}

## 例:(仅进行Geekbench 5测试)
curl -sL yabs.sh | bash -s -- -fdi

可选参数列表
-f 此选项禁用fio测试
-d 此选项禁用磁盘性能测试
-i 此选项禁用网络性能测试
-g 此选项将禁用Geekbench系统性能测试
-h 此选项打印包含用法、检测到的标志和本地包(fio/iperf)状态的帮助消息
-r 此选项可减少iperf位置的数量(Online.net/Clouvider LON+NYC)以减少带宽使用
-4 此选项覆盖geekbench5性能测试,而运行geekbench4测试
-9 这个选项除了运行Geekbench 5测试之外,还运行Geekbench 4测试
  • SKY-BOX综合工具箱

Github项目:https://github.com/BlueSkyXN/SKY-BOX

wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
  • 91yuntest硬件信息/带宽/硬盘测试

测试包含:常规系统参数检测,带宽测试,IO测试和全国ping测试、下载测试、路由测试、回程路由测试。下面代码直接复制到机器使用即可,默认会生成html页

wget -N --no-check-certificate https://raw.githubusercontent.com/91yun/91yuntest/master/test.sh && bash test.sh -i "io,bandwidth,chinabw,download,traceroute,backtraceroute,allping,gotoping"
  • 流媒体解锁测试
bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)
  • Netflix解锁测试

Github项目:https://github.com/sjlleo/netflix-verify

# X86_64
wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.6/nf_2.6_linux_amd64 && chmod +x nf && clear && ./nf -method full

# ARM64
wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.61/nf_2.61_linux_arm64 && chmod +x nf && clear && ./nf
  • 检测/诊断Youtube地域信息

Github项目:https://github.com/sjlleo/TubeCheck

# 支持IPv4网络的机器
wget -O tubecheck https://github.com/sjlleo/TubeCheck/releases/download/1.0Beta/tubecheck_1.0beta_linux_amd64 && chmod +x tubecheck && clear && ./tubecheck

# 支持IPv4或者IPv6网络的机器(通用选项)
wget -O tubecheck https://cdn.jsdelivr.net/gh/sjlleo/TubeCheck/CDN/tubecheck_1.0beta_linux_amd64 && chmod +x tubecheck && clear && ./tubecheck
  • SpeedTest-X Docker

GitHub项目:https://github.com/BadApple9/speedtest-x,Docker镜像:https://hub.docker.com/r/badapple9/speedtest-xhttps://github.com/sjlleo/TubeCheck

# 安装 Docker
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun

# 拉取 Docker 镜像
docker pull badapple9/speedtest-x

# 运行容器
docker run -d -p 9001:80 -it badapple9/speedtest-x

-d:以常驻进程模式启动
9001: 默认容器开放端口,可改为其他端口

启动时可指定的环境变量:
-e WEBPORT=80: 容器内使用的端口
-e MAX_LOG_COUNT=100: 最大可保存多少条测速记录
-e IP_SERVICE=ip.sb: 使用的 IP 运营商解析服务(ip.sb 或 ipinfo.io)
-e SAME_IP_MULTI_LOGS=false: 是否允许同一IP记录多条测速结果

文章来源:https://www.cnaaa.net,转载请注明出处:https://www.cnaaa.net/archives/4118

(0)
郭靖的头像郭靖
上一篇 2022年6月8日 下午12:18
下一篇 2022年6月8日 下午2:10

相关推荐

  • Linux下查找并删除挖矿程序实例

    症状表现 从外网连接服务器时,间接性断开特别频繁。在断开的时候,从内网也连接不上 排查方法 从链路等硬件方面去排查 通过zabbix监控的服务器的端口,发现这个服务器一直在间断性占用1000M带宽,实际客户购买的带宽15M,这就是客户间断性频繁断网的原因。 在排除了线路等相关问题后,将问题锁定在客户系统内。 在软件中排查 在Linux系统中,我们可以使用to…

    2022年6月14日
    1.4K00
  • Linux JumpServer 堡垒机远程访问

    前言JumpServer 是广受欢迎的开源堡垒机,是符合 4A 规范的专业运维安全审计系统。JumpServer 帮助企业以更安全的方式管控和登录所有类型的资产,实现事前授权、事中监察、事后审计,满足等保合规要求。 下面介绍如何简单设置即可使本地jump server 结合cpolar 内网穿透实现远程访问jump server 管理界面. 安装环境后.使用…

    2023年12月20日
    1.0K00
  • Testdisk 取消删除FAT文件

    此恢复示例将指导您逐步使用TestDisk从 FAT (FAT12/FAT16/FAT32) 和 VFAT 文件系统中恢复删除的文件。FAT 主要用于数码相机的存储卡和 USB 闪存盘。VFAT 主要存在于 Windows 下格式化的外部硬盘上。可以恢复已删除的文件。当文件被删除时,文件名被标记为已删除,数据区域被标记为未分配/空闲,但 TestDisk 可…

    2024年1月5日
    1.2K00
  • 宝塔一键下载安装失败解决方法

    今天使用国内云服务器部署lnmp环境,发现下载安装宝塔失败 报连接超时错误,使用ping 测试也ping不通,不排除禁止ping可能性, 云服务器国内地区的用户,可以尝试执行下面的命令,指定节点解决此问题, https://www.bt.cn/bbs/thread-87257-1-1.html 宝塔论坛上的解决方式 windows面板的操作方式如下:win的…

    2023年11月3日
    1.1K00
  • Nginx常见502错误提示原因和解决方法

    常见的Nginx 502 Bad Gateway解决办法如下: Nginx 502错误情况1: 网站的访问量大,而php-cgi的进程数偏少。 针对这种情况的502错误,只需增加php-cgi的进程数。具体就是修改/usr/local/php/etc/php-fpm.conf 文件,将其中的max_children值适当增加。这个数据要依据你的VPS或独立服…

    2022年6月21日
    1.2K00

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

在线咨询: QQ交谈

邮件:712342017@qq.com

工作时间:周一至周五,8:30-17:30,节假日休息

关注微信
Linux系统VPS云服务器网络速度性能测试一键脚本分享