今天在 LES 论坛看到一个 VPS 和服务器测速脚本-network-speed.xyz,测试提供的信息非常全面,具体的可以看下下面提供的脚本输出示例。network-speed.xyz 基于 speedtest.net 的测速节点进行测速,根据 Teddysuns 开发的 bench.sh 测速脚本,添加了一些自己开发的代码并修改了不需要的项目,类似 zq-superspeed、SuperSpeed.sh修复版等一键测速脚本。network-speed.xyz 官网:https://network-speed.xyz/
network-speed.xyz 测速脚本测试信息
- 基本系统信息 – 如 CPU、RAM、磁盘等
- 基本网络信息 – 协议 (IPv4/v6)、ISP、位置等
- 全球 Ookla speedtest.net 到世界各地的服务器,提供速度、ping、丢包等信息
- 以下地区的区域 Ookla speedtest.net
- 北美
- 南美洲
- 欧洲
- 亚洲
- 非洲
- 海湾合作委员会中东
- 印度
- 中国
- 伊朗
- 更多即将推出!
- 速度测试的统计数据
- 结果的可共享链接 (FroCDN)
network-speed.xyz 测速脚本如何使用?
全球速度测试(默认):
curl -sL network-speed.xyz | bash
wget -qO- network-speed.xyz | bash
区域速度测试:
region_name = na, sa, eu, asia, africa, middle-east, india, china, iran
curl -sL network-speed.xyz | bash -s -- -r region_name
wget -qO- network-speed.xyz | bash -s -- -r region_name
示例:
wget -qO- network-speed.xyz | bash -s -- -r india
network-speed.xyz 输出示例
全球速度测试:
---------------------------- network-speed.xyz ---------------------------- A simple script to test network performance using speedtest-cli --------------------------------------------------------------------------- Version : v2023.04.08 --------------------------------------------------------------------------- Basic System Info --------------------------------------------------------------------------- CPU Model : Intel Core Processor (Skylake, IBRS) CPU Cores : 1 @ 3408.020 MHz CPU Cache : 16384 KB AES-NI : ✔ Enabled VM-x/AMD-V : ✔ Enabled Total Disk : 726.8 GB (158.8 GB Used) Total RAM : 1.9 GB (418.0 MB Used) System uptime : 9 days, 21 hour 37 min Load average : 0.61, 0.47, 0.40 OS : Ubuntu 20.04.6 LTS Arch : x86_64 (64 Bit) Kernel : 5.4.0-146-generic Virtualization : KVM --------------------------------------------------------------------------- Basic Network Info --------------------------------------------------------------------------- Primary Network : IPv6 ISP : Kuroit Limited ASN : AS203363 Kuroit Limited Host : Kuroit Limited Location : City of London, England-ENG, United Kingdom --------------------------------------------------------------------------- Speedtest.net (Region: GLOBAL) --------------------------------------------------------------------------- Location Latency Loss DL Speed UP Speed Server ISP: Kuroit Limited Nearest 22.94 ms 0.0% 787.87 Mbps 266.47 Mbps ADD39 - Coding SRL - Abbadia San Salvatore Kochi, IN 155.99 ms 0.0% 393.09 Mbps 425.00 Mbps Asianet Broadband - Cochin Bangalore, IN 148.29 ms 0.0% 364.72 Mbps 513.14 Mbps Bharti Airtel Ltd - Bangalore Chennai, IN 143.94 ms N/A 434.88 Mbps 570.51 Mbps Jio - Chennai Mumbai, IN 164.21 ms 0.0% 408.45 Mbps 380.88 Mbps i3D.net - Mumbai Delhi, IN 149.62 ms 0.0% 415.04 Mbps 310.55 Mbps Tata Play Fiber - New Delhi Los Angeles, US 126.31 ms 0.0% 447.56 Mbps 216.76 Mbps ReliableSite Hosting - Los Angeles, CA Dallas, US 106.54 ms 0.0% 669.37 Mbps 682.99 Mbps Hivelocity - Dallas, TX New York, US 70.31 ms 0.0% 683.20 Mbps 703.36 Mbps Clouvider Ltd - New York, NY Seattle, US 133.63 ms N/A 654.15 Mbps 408.42 Mbps Comcast - Seattle, WA Miami, US 103.08 ms 0.0% 569.01 Mbps 377.75 Mbps AT&T - Miami, FL Toronto, CA 84.16 ms 0.0% 536.03 Mbps 644.44 Mbps Rogers - Toronto, ON Paris, FR 8.00 ms 0.0% 751.90 Mbps 854.37 Mbps ORANGE FRANCE - Paris Amsterdam, NL 5.44 ms 0.0% 875.18 Mbps 908.46 Mbps Clouvider Ltd - Amsterdam Warsaw, PL 32.57 ms 0.0% 815.58 Mbps 694.72 Mbps UPC Polska - Warszawa London, UK 4.34 ms 0.3% 608.95 Mbps 922.42 Mbps VeloxServ Communications - London Frankfurt, DE 14.56 ms 0.0% 913.87 Mbps 423.48 Mbps 23M GmbH - Frankfurt Am Main Dubai, AE 135.32 ms 0.0% 637.74 Mbps 632.98 Mbps du - Dubai Fujairah, AE 117.99 ms 0.0% 951.56 Mbps 265.95 Mbps ETISALAT-UAE - Fujairah Jeddah, KSA 81.15 ms 0.0% 911.54 Mbps 495.46 Mbps Saudi Telecom Company Shanghai, CU-CN 226.14 ms 0.0% 439.63 Mbps 377.51 Mbps China Unicom 5G - ShangHai Nanjing, CT-CN 205.47 ms 0.0% 415.15 Mbps 345.48 Mbps China Telecom JiangSu 5G - Nanjing Hong Kong, HKG 171.44 ms N/A 594.13 Mbps 467.51 Mbps STC - Hong Kong Singapore, SG 153.71 ms 0.0% 356.85 Mbps 532.06 Mbps i3D.net - Singapore Jakarta, ID 190.70 ms 0.0% 352.16 Mbps 275.85 Mbps PT Indosat Tbk - Jakarta Tokyo, JP 242.39 ms N/A 608.89 Mbps 303.57 Mbps fdcservers.net - Tokyo --------------------------------------------------------------------------- Avg DL Speed : 599.87 Mbps Avg UL Speed : 500.01 Mbps Total DL Data : 21.77 GB Total UL Data : 15.72 GB Total Data : 37.49 GB --------------------------------------------------------------------------- Duration : 12 min 30 sec System Time : 08/04/2023 - 15:51:29 IST Total Script Runs : 822 --------------------------------------------------------------------------- Result : https://cdn1.frocdn.ch/pBBRfnvcE2LtQ4D.txt ---------------------------------------------------------------------------
区域测试示例输出
NA: https://cdn1.frocdn.ch/o0jvHlZr9cUQSa2.txt
SA: https://cdn1.frocdn.ch/t31SkeDTWhuwbHH.txt
EU: https://cdn1.frocdn.ch/UzgzCEzBqFzAOVf.txt
Asia: https://rentry.co/q7qvg
GCC: https://cdn1.frocdn.ch/5F5jacWigHcsMQu.txt
India: https://rentry.co/q7qvg
China: https://pastebin.com/4ZiB92m4
Iran: https://pastebin.com/LuFsGM6H
流量统计
该脚本需要大约 10-15 分钟才能完成全局速度测试,实际数据使用量很难估计,因为它完全取决于连接和位置,下面是一个基于不同网络的非常粗略的估计。
Port Speed (DL/UL) | Data Used | Country | Test Region |
---|---|---|---|
10Gbps Symmetric | ~130GB | SG | GLOBAL |
5Gbps Symmetric | ~60GB | KR | GLOBAL |
1Gbps Symmetric | ~40GB | US | GLOBAL |
750Mbps Symmetric | ~35GB | DE | GLOBAL |
500Mbps Symmetric | ~25GB | IN | GLOBAL |
100Mbps Symmetric | ~6GB | US | GLOBAL |
– | – | – | – |
2Gbps/250Mbps | ~50GB | DE | GLOBAL |
1Gbps/250Mbps | ~35GB | CA | GLOBAL |
– | – | – | – |
10Gbps Symmetric | ~440GB | DE | EU |
10Gbps Symmetric | ~400GB | NL | EU |
1Gbps Symmetric | ~50GB | UK | EU |
– | – | – | – |
10Gbps Symmetric | ~240GB | SG | ASIA |
– | – | – | – |
10Gbps Symmetric | ~150GB | SG | INDIA |
– | – | – | – |
1Gbps Symmetric | ~55GB | US | NA |
未经允许不得转载:主机格调 » Linux VPS 和独立服务器网络一键测速脚本:network-speed.xyz