vps上传下载速度测试|带宽测试工具speedtest-cli与speedtest测试网页
![]() | ![]() | ![]() | ![]() |
| 【性价之王】 | 【线路之王】 | 【价格之王】 | 【配置之王】 |
| 【免费之王】 | 【香港首推】 | 【梯子之王】 | 【独服之王】 |

给大家介绍一个常用的 linux 带宽测试工具 speedtest-cli,也给自己做个笔记,方便以后查阅。工具使用方式很简单,具体步骤如下。
1 下载 speedtest-cli 工具apt install python
wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
chmod +x speedtest-cli
2 开始测试网速[root@localhost ~]# ./speedtest-cliRetrieving speedtest.net configuration...Testing from China Unicom Liaoning (122.97.178.118)...Retrieving speedtest.net server list...Selecting best server based on ping...Hosted by Shanghai Huajuan Information Technology Co., Ltd. (Hong Kong) [15.42 km]: 140.576 msTesting download speed................................................................................Download: 42.58 Mbit/sTesting upload speed..................................................................................Upload: 17.13 Mbit/s3 通过 wget 和服务器下载测试 vps 真实上传下载速度我们也可以在 vps 上执行 wget 测试 vps 真实流入带宽
wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz
或
wget http://mirrors.163.com/mysql/Downloads/MySQL-5.7/mysql-5.7.31-macos10.14-x86_64.tar.gz
在 vps 上安装 apache,在浏览器上下载 apache 上的文件,测试流出带宽
apt install apache2
cp oneinstack-full.tar.gz /var/www/html/
在浏览器中输入 IP+文件名测试下载速度。
4 通过 speedtest 网页工具测试上传下载速度、延时抖动等工具名称 speedtest,源码地址 https://github.com/librespeed/speedtest
speedtest 在 ubuntu 上部署安装步骤如下:
apt install apache2 php git
git clone https://github.com/adolfintel/speedtest.git
cd speedtest/
cp -R backend/ example-singleServer-pretty.html *.js /var/www/html/
cd /var/www/html/
mv example-singleServer-pretty.html index.html
效果如下
站长工具从全国各节点测试文件下载速度地址:https://tool.chinaz.com/speedtest.aspx,效果如下图
转载请注明原文WWW.VPS.COM.IN:vps 上传下载速度测试|带宽测试工具 speedtest-cli 与 speedtest 测试网页 (1)
[vps使用教程]历史优惠活动内容
猜你可能想看的VPS
- 特价促销 Rainbow cloud→Intel Xeon E3-12X香港VPS[主机]
- YonZy→66 元 年 512MB 内存 6GB SSD 空间 不限流虚拟空间(主机)
- 腾讯云秒杀→上海北京云服务器年付 99 元起 1C2G50G2M 三年仅全球[VPS测评]
- 疯狂猜成语 图猜成语一个鹿字一滩血两只手和两个问号是什么成语?全球[VPS测评]
- GigsGigsCloud→$4.99 月 256MB 内存 15GB 虚拟空间(主机)
- 0 元购 酷番云→1 核 1G 60G 硬盘 2M 带宽 内蒙机房邀请好全球[VPS测评]
- DogYun→15.6 元 月 512MB 内存 10GB SSD 空间虚拟空间(主机)
- FDCServers→$999 月 2*E5-2650 128GB 内存日本VPS[主机]
- DediPath→全场 VPS 主机 4 折 Hybrid Server全球[VPS测评]
- ReliableSite→纽约独服 i5-4570 16GB 内存 2T全球[VPS测评]
- 如何在WordPress博客实现历史上的今天的小功能全球[VPS测评]
- NameCheap和华为云618域名注册优惠力度大 .com域名最低仅1全球[VPS测评]
- HostYun新上洛杉矶AMD新机器,三网cn2gia/美国原生IP/A美国VPS[主机]
- 使用 Classic Widgets 插件恢复 WordPress 原来全球[VPS测评]
- LetBox → 2G 内存 20G Nvme 256G块储存 2T流量全球[VPS测评]
- Mansora 2018圣诞优惠全球[VPS测评]
- GigsGigsCloud 个人款季付18美金 美西CN2 GIA 三网全球[VPS测评]
- 20个温暖心灵的问题,抖音,朋友圈都可以拿去发。全球[VPS测评]
- 极客主机,美国高防/日本软银/新加坡双程CN2/香港VPS 折后39元/日本VPS[主机]
- 无忧云,香港VPS全线5折促销,四川高防服务器/大连BGP/德阳高防/深香港VPS[主机]
- 乐趣云怎么样?香港美国云服务器首月8.8元,新增IP5元/个美国VPS[主机]
- 阳帝云:新年快乐666个现金优惠券,香港CN2 GIA、美国CN2高防V美国VPS[主机]
- 六一云:香港CN2/洛杉矶高防85折优惠,CDN半年优惠,充值返利送水杯香港VPS[主机]
- 百纵科技:美国洛杉矶云主机4核8G大带宽仅799元/月;圣何塞vps,1美国VPS[主机]
- locvps:香港cn2vps(葵湾机房),2核2G40g硬盘,8折优惠WINDOWS
- 易科云:香港cn2 vps,洛杉矶 cn2云主机;全场月付9折/季付8折香港VPS[主机]
- 影速科技怎么样?影速科技海外云服务器价格多少钱?全球[VPS测评]
- ucloud云主机怎么样?ucloud云服务器1核2G仅52元/年起;香香港VPS[主机]
- 者也vps年终特惠:全场云服务器7折终身优惠,赠1G内存,充1000送3全球[VPS测评]
- 2022年亚马逊Prime会员日将于7月12日和13日举行,覆盖24个站全球[VPS测评]
转载请注明原文地址:http://140.238.13.167:12355/read-11963.html











