便宜VPS,VPS推荐
整理VPS云服务器优惠信息

network-speed一键全球测速脚本_可测试服务器北美、南美、欧洲、亚洲、中东、中国、印度、伊朗等地区速度

这里分享一个network-speed一键全球测速脚本,可以一键测试Linux服务器到北美、南美、欧洲、亚洲、中东、中国、印度、伊朗等地区速度!脚本支持一键全球测试,也支持选择自定义区域进行测速!network-speed一键全球测速脚本是一个基于bench.sh脚本修改的测速脚本。

bandwagonhostnet linux2 1024x576 1

一、network-speed一键全球测速脚本测速命令介绍

1、全球节点一键测速命令

下面是默认测速脚本。如果没有特殊要求,可以直接使用下面脚本进行测速。

RedHat/CentOS安装curl

yum install -y curl

Debian/Ubuntu安装curl

apt install -y curl
curl -sL https://raw.githubusercontent.com/su-haris/simple-network-speedtest/master/speed.sh | bash

或者

RedHat/CentOS安装curl

yum -y install wget

Debian/Ubuntu安装curl

apt install -y wget
wget -qO- https://raw.githubusercontent.com/su-haris/simple-network-speedtest/master/speed.sh | bash

下面是使用默认的全球测速脚本一键测速结果展示

---------------------------------------------------------------------------
Version : v2023.07.02
Global Speedtest : wget -qO- network-speed.xyz | bash
Region Speedtest : wget -qO- network-speed.xyz | bash -s -- -r 
---------------------------------------------------------------------------
Basic System Info
---------------------------------------------------------------------------
CPU Model : QEMU Virtual CPU version (cpu64-rhel6)
CPU Cores : 2 @ 2699.998 MHz
CPU Cache : 16384 KB
AES-NI : ✔ Enabled
VM-x/AMD-V : ❌ Disabled
Total Disk : 39.8 GB (2.6 GB Used)
Total RAM : 2.0 GB (85.6 MB Used)
Total Swap : 1024.0 MB (0 Used)
System uptime : 0 days, 0 hour 22 min
Load average : 0.00, 0.00, 0.00
OS : Debian GNU/Linux 11
Arch : x86_64 (64 Bit)
Kernel : 5.10.0-8-amd64
Virtualization : KVM
---------------------------------------------------------------------------
Basic Network Info
---------------------------------------------------------------------------
Primary Network : IPv4
ISP : IT7 Networks Inc
ASN : AS21887 Fiber Logic Inc.
ASN (IPv4) : AS25820 IT7 Networks Inc
Host : Cluster Logic Inc
Location : Los Angeles, California-CA, United States
---------------------------------------------------------------------------
Speedtest.net (Region: GLOBAL)
---------------------------------------------------------------------------
Location Latency Loss DL Speed UP Speed Server

ISP: Fiber-logic

Nearest 0.37 ms N/A 6204.62 Mbps 6904.22 Mbps Netprotect - Los Angeles, CA

Kochi, IN 252.72 ms 0.0% 2361.24 Mbps 335.62 Mbps Asianet Broadband - Cochin
Bangalore, IN 214.87 ms 0.0% 2950.87 Mbps 387.29 Mbps Bharti Airtel Ltd - Bangalore
Chennai, IN 210.71 ms 0.0% 2559.15 Mbps 379.51 Mbps Tata Play Fiber - Chennai
Mumbai, IN 234.90 ms 0.0% 2583.74 Mbps 337.85 Mbps i3D.net - Mumbai
Delhi, IN 252.06 ms 0.0% 1961.65 Mbps 293.45 Mbps Tata Teleservices Ltd - New Delhi

Seattle, US 30.49 ms 0.0% 3305.31 Mbps 2600.82 Mbps DediPath - Seattle, WA
Los Angeles, US 0.45 ms 0.0% 2347.66 Mbps 6894.75 Mbps ReliableSite Hosting - Los Angeles, CA
Dallas, US 33.31 ms 0.0% 3563.65 Mbps 2549.76 Mbps Hivelocity - Dallas, TX
Miami, US 60.87 ms 0.0% 1580.51 Mbps 1344.31 Mbps AT&T - Miami, FL
New York, US 62.41 ms 0.0% 1194.81 Mbps 1253.12 Mbps Clouvider Ltd - New York, NY
Toronto, CA 72.48 ms 0.0% 3878.03 Mbps 1138.64 Mbps Rogers - Toronto, ON

London, UK 129.29 ms 0.0% 3537.92 Mbps 631.70 Mbps VeloxServ Communications - London
Amsterdam, NL 140.42 ms 0.0% 3719.49 Mbps 584.57 Mbps Clouvider Ltd - Amsterdam
Paris, FR 138.96 ms 0.0% 3782.51 Mbps 596.60 Mbps ORANGE FRANCE - Paris
Frankfurt, DE 143.60 ms 0.0% 4042.81 Mbps 559.18 Mbps 23M GmbH - Frankfurt Am Main
Warsaw, PL 172.21 ms 0.0% 3102.71 Mbps 473.21 Mbps UPC Polska - Warszawa
Bucharest, RO 168.61 ms 0.0% 3774.34 Mbps 487.36 Mbps Vodafone Romania Fixed – Bucharest - Bucharest

Jeddah, KSA 190.51 ms 0.0% 2988.19 Mbps 384.71 Mbps Saudi Telecom Company
Dubai, AE 251.72 ms 0.0% 2131.67 Mbps 321.65 Mbps du - Dubai
Fujairah, AE 249.00 ms 0.0% 3022.37 Mbps 327.74 Mbps ETISALAT-UAE - Fujairah

Tokyo, JP 107.69 ms N/A 1824.91 Mbps 733.87 Mbps fdcservers.net - Tokyo
Shanghai, CU-CN 128.38 ms 0.0% 3121.34 Mbps 626.00 Mbps China Unicom 5G - ShangHai
Nanjing, CT-CN 133.59 ms 0.0% 2879.56 Mbps 497.48 Mbps China Telecom JiangSu 5G - Nanjing
Hong Kong, HKG 139.36 ms N/A 2896.15 Mbps 530.12 Mbps STC - Hong Kong
Singapore, SG 174.69 ms 0.0% 3493.71 Mbps 475.24 Mbps i3D.net - Singapore
Jakarta, ID 247.42 ms 0.3% 2695.22 Mbps 184.62 Mbps PT. Telekomunikasi Indonesia - Jakarta
---------------------------------------------------------------------------
Avg DL Speed : 3018.67 Mbps
Avg UL Speed : 1179.01 Mbps

Total DL Data : 111.30 GB
Total UL Data : 41.60 GB
Total Data : 152.90 GB
---------------------------------------------------------------------------
Duration : 13 min 37 sec
System Time : 02/07/2023 - 11:23:43 EDT
Total Script Runs : 4199

2、指定区域节点一键测速命令

network-speed一键全球测速脚本支持选择指定区域进行速度测试。只需更改下面命令当中的“region_name”参数即可。

curl -sL https://raw.githubusercontent.com/su-haris/simple-network-speedtest/master/speed.sh | bash -s -- -r region_name

或者

wget -qO- https://raw.githubusercontent.com/su-haris/simple-network-speedtest/master/speed.sh | bash -s -- -r region_name

如下面脚本是测试印度地区节点速度,只需把“region_name”改成india即可。

wget -qO- https://raw.githubusercontent.com/su-haris/simple-network-speedtest/master/speed.sh | bash -s -- -r india

下面是测试印度地区节点速度结果展示。

只需更改下面命令当中的“region_name”参数即可。

---------------------------------------------------------------------------
Version : v2023.07.02
Global Speedtest : wget -qO- network-speed.xyz | bash
Region Speedtest : wget -qO- network-speed.xyz | bash -s -- -r 
---------------------------------------------------------------------------
Basic System Info
---------------------------------------------------------------------------
CPU Model : QEMU Virtual CPU version (cpu64-rhel6)
CPU Cores : 2 @ 2599.998 MHz
CPU Cache : 16384 KB
AES-NI : ✔ Enabled
VM-x/AMD-V : ❌ Disabled
Total Disk : 39.3 GB (2.6 GB Used)
Total RAM : 1.9 GB (99.5 MB Used)
Total Swap : 1024.0 MB (0 Used)
System uptime : 5 days, 6 hour 52 min
Load average : 0.00, 0.00, 0.00
OS : Debian GNU/Linux 11
Arch : x86_64 (64 Bit)
Kernel : 6.3.3
Virtualization : KVM
---------------------------------------------------------------------------
Basic Network Info
---------------------------------------------------------------------------
Primary Network : IPv4
ISP : IT7 Networks Inc
ASN : AS25820 IT7 Networks Inc
Host : Cluster Logic Inc
Location : Vancouver, British Columbia-BC, Canada
---------------------------------------------------------------------------
Speedtest.net (Region: GLOBAL)
---------------------------------------------------------------------------
Location Latency Loss DL Speed UP Speed Server

ISP: IT7 Networks Inc

Nearest 0.55 ms 0.0% 7796.44 Mbps 6378.22 Mbps Skyway West Business Internet Services - Vancouver, BC

Kochi, IN 267.69 ms 0.0% 2811.15 Mbps 294.40 Mbps Asianet Broadband - Cochin
Bangalore, IN 273.34 ms 0.0% 2562.55 Mbps 291.24 Mbps Bharti Airtel Ltd - Bangalore
Chennai, IN 263.28 ms 0.0% 2952.88 Mbps 300.60 Mbps Tata Play Fiber - Chennai
Mumbai, IN 256.50 ms 0.0% 2350.82 Mbps 310.68 Mbps i3D.net - Mumbai
Delhi, IN 276.18 ms 0.0% 1949.36 Mbps 290.25 Mbps Tata Teleservices Ltd - New Delhi

Seattle, US 6.32 ms 0.0% 5762.89 Mbps 5250.21 Mbps DediPath - Seattle, WA
Los Angeles, US 31.62 ms 0.0% 4009.22 Mbps 2639.47 Mbps ReliableSite Hosting - Los Angeles, CA
Dallas, US 65.57 ms 0.0% 2960.79 Mbps 1256.60 Mbps Hivelocity - Dallas, TX
Miami, US 79.51 ms 0.0% 1857.81 Mbps 1032.26 Mbps AT&T - Miami, FL
New York, US 68.53 ms 0.0% 1071.24 Mbps 1176.91 Mbps Clouvider Ltd - New York, NY
Toronto, CA 61.35 ms 0.0% 2324.42 Mbps 1335.50 Mbps Rogers - Toronto, ON

London, UK 135.55 ms 0.0% 5488.91 Mbps 604.03 Mbps VeloxServ Communications - London
Amsterdam, NL 147.76 ms 0.0% 4526.32 Mbps 557.29 Mbps Clouvider Ltd - Amsterdam
Paris, FR 152.08 ms 0.0% 3408.47 Mbps 498.34 Mbps ORANGE FRANCE - Paris
Frankfurt, DE 150.21 ms 0.0% 4217.65 Mbps 552.76 Mbps 23M GmbH - Frankfurt Am Main
Warsaw, PL 182.10 ms 0.0% 3924.81 Mbps 448.63 Mbps UPC Polska - Warszawa
Bucharest, RO 174.31 ms 0.0% 2385.11 Mbps 465.17 Mbps Vodafone Romania Fixed – Bucharest - Bucharest

Jeddah, KSA 204.77 ms 0.0% 2622.18 Mbps 397.56 Mbps Saudi Telecom Company
Dubai, AE 236.60 ms 0.0% 2206.11 Mbps 345.40 Mbps du - Dubai
Fujairah, AE 244.57 ms 0.0% 2066.18 Mbps 320.39 Mbps ETISALAT-UAE - Fujairah

Tokyo, JP 107.26 ms N/A 1692.04 Mbps 742.81 Mbps fdcservers.net - Tokyo
Shanghai, CU-CN 225.51 ms 0.0% 1828.71 Mbps 366.16 Mbps China Unicom 5G - ShangHai
Nanjing, CT-CN 180.78 ms 0.0% 3453.73 Mbps 424.78 Mbps China Telecom JiangSu 5G - Nanjing
Hong Kong, HKG 147.47 ms N/A 3467.78 Mbps 545.82 Mbps STC - Hong Kong
Singapore, SG 171.99 ms 0.0% 4471.73 Mbps 456.94 Mbps i3D.net - Singapore
Jakarta, ID 222.80 ms 0.0% 3366.99 Mbps 353.01 Mbps PT. Telekomunikasi Indonesia - Jakarta
---------------------------------------------------------------------------
Avg DL Speed : 3242.09 Mbps
Avg UL Speed : 1023.54 Mbps

Total DL Data : 118.80 GB
Total UL Data : 34.64 GB
Total Data : 153.44 GB
---------------------------------------------------------------------------
Duration : 13 min 45 sec
System Time : 02/07/2023 - 11:24:18 EDT
Total Script Runs : 4200

目前支持的“region_name”参数如下:

region_name = na, sa, eu, asia, middle-east, india, china, iran,au

  • na代表的是North America,即北美地区
  • sa代表的是South America,即南美地区
  • eu代表的是Europe,即欧洲地区
  • asia代表的是Asia,即亚洲地区
  • middle-east代表的是GCC Middle East,即中东地区
  • india代表的是india,即印度地区
  • china代表的是china,即中国地区
  • iran代表的是iran,即伊朗地区
  • au代表的是au,即澳洲地区

通过上面的参数,如设置国内点击测速命令为:

wget -qO- https://raw.githubusercontent.com/su-haris/simple-network-speedtest/master/speed.sh | bash -s -- -r china

搬瓦工推荐方案

如果您有选择困难症,直接选中间的 CN2 GIA-E方案,季付 $49.99,多达 12 个机房任意切换
方案CPU/内存硬盘流量/带宽机房价格购买
CN2
(最便宜)
1核/1GB20GB1TB/1GbpsDC3 CN2
DC8 ZNET
$49.99/年链接
CN21核/2GB40GB2TB/1Gbps$52.99/半年
$99.99/年
链接
CN2 GIA-E
(最推荐)
2核/1GB20GB1TB/2.5GbpsDC6 CN2 GIA-E
DC9 CN2 GIA
日本软银 JPOS_1
荷兰 EUNL_9
$49.99/季度
$169.99/年
链接
CN2 GIA-E3核/2GB40GB2TB/2.5Gbps$89.99/季度
$299.99/年
链接
HK2核/2GB40GB0.5TB/1Gbps中国香港 CN2 GIA
日本东京 CN2 GIA
$89.99/月
$899.99/年
链接
HK4核/4GB80GB1TB/1Gbps$155.99/月
$1559.99/年
链接
TOKYO2核/2GB40GB0.5TB/1.5Gbps日本大阪 CN2 GIA$49.99/月
$499.99/年
链接
TOKYO4核/4GB80GB1TB/1.5Gbps$86.99/月
$869.99/年
链接
搬瓦工优惠码:BWHCGLUKKB搬瓦工购买教程:《2024 年最新搬瓦工购买教程和支付宝支付教程》
赞(0)
未经允许不得转载:主机狗 » network-speed一键全球测速脚本_可测试服务器北美、南美、欧洲、亚洲、中东、中国、印度、伊朗等地区速度

登录

找回密码

注册