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
- Name.com 4 月域名促销全球[VPS测评]
- 腾讯云最新优惠活动→十月有礼 每日 10 点开始抢购 1G 内存 VPS全球[VPS测评]
- VPS 零元购 酷番云:1 核 1G 60G 硬盘 2M 带宽 内蒙机房全球[VPS测评]
- 国庆促销 KVMLA→日本 新加坡 VPS 全场 8 折优惠 新加坡双向日本VPS[主机]
- 伏羲→24 月 1GB 内存 40GB SSD 空间 不限流量 15Mb虚拟空间(主机)
- 大容量便宜 VPS 汇总推荐→5 美元 月左右 空间 500GB 以上虚拟空间(主机)
- 解决浏览器不能正常下载 txt 而是直接打开的问题(HTML 版本)全球[VPS测评]
- 疯狂猜成语 图猜成语一个老头和进化论的图片是什么成语?全球[VPS测评]
- 小伞云→3 元 月 500MB 空间 200GB 流量 100Mbps 虚拟空间(主机)
- DediPath→VPS 全场 4 折 Hybrid Servers 全全球[VPS测评]
- VirMach 圣何塞机房补货→终身六折 $15 年 512MB 内存 全球[VPS测评]
- iWebFusion→$8.99 月 2GB 内存 25GB SSD 空虚拟空间(主机)
- RAKsmart→美国站群买一送一 I3 低至$46 抢购 VPS 年付站群服务器[IP]
- 六六云洛杉矶cera VPS 云服务器 三网联通CUVIP/1Gbps带全球[VPS测评]
- RAKsmart 服务器限量秒杀,40G防御仅99刀,洛杉矶新品预售,美全球[VPS测评]
- 极云RivenCloud 东京CN2 GIA线路 1G内存 30M小带宽全球[VPS测评]
- 比TinyPNG好用的Squoosh在线图片压缩全球[VPS测评]
- Hazi.ro罗马尼亚无限流量便宜vps,1GB内存,月付0.99欧元起全球[VPS测评]
- hostmayo-美国洛杉矶-2.5$ m-vps-测评美国VPS[主机]
- Wikihost → 洛杉矶CERA Gen2 联通回程 → 1G 5全球[VPS测评]
- CubeCloud,香港cn2,美国cn2 gia线路vps主机,2核1美国VPS[主机]
- 快速云:云服务器vps的区别是什么云服务器和vps哪个比较好2022-0全球[VPS测评]
- 网站迁移服务器是如何运作的?新手站长看完这篇文章,很容易就能看完。全球[VPS测评]
- 40火伞高压电爬坡更让企业用电于民全球[VPS测评]
- 优网主机怎么样?香港云主机/美国云主机价格低至19元/月美国VPS[主机]
- 欧亚云:香港cn2 vps低至28元/月,支持Windows,系统盘数据WINDOWS
- 无忧云:香港大埔/荃湾云服务器5折优惠,可叠加优惠码,国内高防78元起香港VPS[主机]
- KVMCloud:1核/512M/40G硬盘/无限流量/美国/香港BGP美国VPS[主机]
- wikihost,微基主机:1核/1G/15G/100Mbps/香港vp香港VPS[主机]
- 亿速互联怎么样?香港沙田vps,2核1G3M云主机仅98元/月,780元香港VPS[主机]
转载请注明原文地址:http://140.238.13.167:12355/read-11563.html











