下载测试
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
宽带测试
Speedtest GitHub项目地址:https://github.com/sivel/speedtest-cli
wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
chmod +x speedtest-cli
./speedtest-cli
测试详情:
## 如果出现以下错误:
/usr/bin/env: 'python': No such file or directory
## 输入以下命令安装:
apt-get install python
## 测试结果:
root@SunPma ~ # ./speedtest-cli --share
Retrieving speedtest.net configuration...
Testing from Microsoft Corporation (20.187.72.158)...
Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by Misaka Network, Inc. (Hong Kong) [4.85 km]: 2.74 ms
Testing download speed.............................................
Download: 3514.72 Mbit/s
Testing upload speed...............................................
Upload: 964.31 Mbit/s
Share results: http://www.speedtest.net/result/12678652753.png
简单测试
wget -qO- bench.sh | bash
[collapse status=“collapse-none” label=“详情查看”][/collapse]
三网测速
全面的国内三大运营商(电信,联通,移动)上传下载速率测试
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)
[collapse status=“collapse-none” label=“详情查看”][/collapse]
柠檬测试
快速测试
wget -qO- http://ilemonra.in/LemonBenchIntl | bash -s fast
完整测试
wget -qO- 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
作者链接:https://blog.ilemonrain.com/linux/LemonBench.html
[collapse status=“collapse-none” label=“详情查看”][/collapse]
CPU跑分
wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh && chmod +x unixbench.sh && ./unixbench.sh
# 或者
wget --no-check-certificate https://cdn.jsdelivr.net/gh/teddysun/across/unixbench.sh && chmod +x unixbench.sh && ./unixbench.sh
[collapse status=“collapse-none” label=“详情查看”][/collapse]
yabs.sh
完整测试
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测试
[collapse status=“collapse-none” label=“详情查看”][/collapse]
Geekbench 5
Geekbench 5 官方测试
wget --no-check-certificate https://cdn.geekbench.com/Geekbench-5.4.3-Linux.tar.gz
tar xf Geekbench-5.4.3-Linux.tar.gz
cd Geekbench-5.4.3-Linux
./geekbench_x86_64
测试完成后会输出链接,复制链接在浏览器中打开即可查看测试分数;
官网地址:https://www.geekbench.com/download/
流媒体解锁
一:全流媒体解锁测试
bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)
[collapse status=“collapse-none” label=“详情查看”][/collapse]
二:NETFLIX(NF解锁测试)
## 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
## ARM
wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.61/nf_2.61_linux_arm64 && chmod +x nf && clear && ./nf
[collapse status=“collapse-none” label=“详情查看”][/collapse]
综合工具箱
wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh
[collapse status=“collapse-none” label=“详情查看”][/collapse]
Speedtest-X
- GitHub项目:https://github.com/BadApple9/speedtest-x
- Docker镜像:https://hub.docker.com/r/badapple9/speedtest-x
# 安装 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记录多条测速结果