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
- 促销 n3servers→E5-2620v2 服务器仅售$19.5 月 独立服务器[U]
- 云闪付 各省市优惠券发放汇总和加油 66 折全球[VPS测评]
- 购买腾讯云服务器 2019 年末有礼秒杀不容错过 1 核 2G 仅需 8全球[VPS测评]
- [ 黑五]PacificRack→$18.95 年 KVM-1GB 30全球[VPS测评]
- 特价 Dedipath→洛杉矶服务器 不限流量 全场 8 折优惠 1Gb全球[VPS测评]
- grep 检索指定扩展名的文件内容,grep 指定文件后缀名全球[VPS测评]
- OneVPS 官网改版,更换网址并更新套餐,首月半价优惠,75折终身优惠全球[VPS测评]
- VPS 装什么系统网站快 Debian稳定首推全球[VPS测评]
- VPS推荐:io/zoom美国VPS主机美国VPS[主机]
- Hosting Ground → 10$ 月 4C1G50G硬盘 美国西美国VPS[主机]
- Mansora 2018圣诞优惠全球[VPS测评]
- WikiHost 洛杉矶INAP线路VPS 可NF HULU全球[VPS测评]
- 20个温暖心灵的问题,抖音,朋友圈都可以拿去发。全球[VPS测评]
- 云计算的三种服务模式,SaaS和PaaS的区别在哪里?全球[VPS测评]
- 2022年亚马逊Prime会员日将于7月12日和13日举行,覆盖24个站全球[VPS测评]
- 春天的风最容易温暖心灵,适合朋友圈和抖音的12条文案全球[VPS测评]
- 74块钱一年的云服务器可以用来做什么?全球[VPS测评]
- 野草云怎么样?香港、美国圣何塞高防VPS 1核1G3M 月付19元美国VPS[主机]
- 弘速科技:香港安畅CN2 GIA/弹性云服务器10元/月,2核1GB/2香港VPS[主机]
- 酷锐云双十一活动:美国vps、香港vps云主机,2核4G4M,50元/首美国VPS[主机]
- 2023年 IDC市场结构和方向的深度分析全球[VPS测评]
- 精编案例丨游戏行业转型升级迫在眉睫,云计算助力打造下一代游戏体验全球[VPS测评]
- 纳米云怎么样?纳米云香港vps,4核1G主机价格80元/月香港VPS[主机]
- HostKVM香港云地VPS,2核4G内存折后$8.4/月,30M大带宽香港VPS[主机]
- SEO和网页加载速度有关系吗?如何提升?全球[VPS测评]
- 桔子数据:香港CN2大带宽云服务器28元/月_1核/1G/10M带宽/C香港VPS[主机]
- 海量科技:香港2核2G云服务器,5M独享带宽,低至168元/月香港VPS[主机]
- 亿速互联怎么样?香港沙田vps,2核1G3M云主机仅98元/月,780元香港VPS[主机]
- 为什么要拥有一台VPS?全球[VPS测评]
- Aoyohost:1核1GB/20GB/600GB流量/60Mbps端口香港VPS[主机]
转载请注明原文地址:http://140.238.13.167:12355/read-13073.html











