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
- 折扣 hostdare 上新货了 CN2 GIA+三网直连+大硬盘 VP全球[VPS测评]
- Uovz→2200 元 月 E5-2620*2 16GB 内存 240G全球[VPS测评]
- Pyclouds→40 元 月 256MB 内存 5GB 空间 100G虚拟空间(主机)
- ZJI→570 元 月-E5 2630L 16GB 480G SSD 5香港VPS[主机]
- Contabo→€5.99 月 4 核 8GB 内存 200GB SSD虚拟空间(主机)
- 免费美国空间 微基主机→现有 VPS 客户可领取首年免费 100M 高速虚拟空间(主机)
- RAKsmart→美国站群买一送一 I3 低至$46 抢购 VPS 年付站群服务器[IP]
- 绝版补货 搬瓦工双向 CN2 GIA 线路 37.79 美元每年补货了全球[VPS测评]
- hostworld→英国 KVM VPS 免费送 15%内存和 30%空虚拟空间(主机)
- 商家投稿 ¥50 月 2 核 CPU 2G 内存 180G 硬盘 5Mb全球[VPS测评]
- 补货通知 搬瓦工 CN2 GIA 线路$46.87 年机器补货了 速度抢全球[VPS测评]
- 引力主机 2vCPU 512M内存 10G SSD 硬盘 2TB流量 2全球[VPS测评]
- 如何修复WordPress 5.1更新后评论回复按键失效问题全球[VPS测评]
- 【黑五】virtono-英国VPS 首月最高3折 终身7折全球[VPS测评]
- OLVPS 德国 流媒体解锁 384M 内存 5G Nvme 256G单全球[VPS测评]
- 咸鱼科技(Saltyfish)德国法兰克福 美国费里蒙CN2 GIA美国VPS[主机]
- 自适应bootstrap左侧导航可关闭全球[VPS测评]
- 2.45亿、成都公安(大数据基座-服务器)采购:神码、虹信、海康、超聚变全球[VPS测评]
- 华凯易佰同比扭亏跨境电商行业回暖H2旺季将至|中报追踪全球[VPS测评]
- CombCloud,香港沙田cn2vps终身七折起,高质量网络稳定低延迟香港VPS[主机]
- 常见的CN2,GIA,CIA 各个网络线路解释全球[VPS测评]
- 向日葵-漏洞科普:海外云服务器三种漏洞修复方法快收藏起来!全球[VPS测评]
- 辰迅云怎么样?国内香港云服务器全场5折,物理服务器限时特价香港VPS[主机]
- 野草云:香港CN2VPS年付36折,137元/年;独立服务器350元月起独立服务器[U]
- 野草云vps怎么样?香港美国vps,1核1G3M带宽,38元/月美国VPS[主机]
- earidc怎么样?香港三网cn2vps带宽1M月付29元香港VPS[主机]
- 企鹅小屋:香港ntt vps,大带宽直连,1核/1G/2T流量/半年15香港VPS[主机]
- sugarhosts:虚拟主机3折(有独立IP),云服务器5折,香港\\独立服务器[U]
- RangCloud:香港云主机,1核1G内存/15G SSD/2Mbps香港VPS[主机]
- 数据中心助力光纤光缆行业发展全球[VPS测评]
转载请注明原文地址:http://140.238.13.167:12355/read-11148.html











