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
- KTS24→€2.5 月 4G 内存 25GB SSD 空间 5TB 流虚拟空间(主机)
- 疯狂猜成语 图猜成语一个三字摔了两下是什么成语?全球[VPS测评]
- Vultr→韩国 日本 新加坡 洛杉矶 欧洲等 KVM VPS 随时更换日本VPS[主机]
- stsdust 广州移动 vds 预售,1Gbps 带宽无限流量,硬件资全球[VPS测评]
- CloudCone→$15 年 1GB 内存 30GB 空间 1TB 流虚拟空间(主机)
- DedeCMS 上传图片 image info error 错误的解决办全球[VPS测评]
- CentOS 下 iptables 防火墙基本操作教程全球[VPS测评]
- 双十二 RackNerd→3 核 2G 内存 45G 硬盘 5T 流量年全球[VPS测评]
- 四个倒着的脚字是什么成语?全球[VPS测评]
- 促销 $36 年 512M 内存 20G 硬盘 1Gbps 不限流量 K全球[VPS测评]
- Ubuntu 系统更新提示 Invalid operation upda全球[VPS测评]
- 真实测评 virmach 年付黑五 4.75 刀 512M 内存 10G全球[VPS测评]
- 圆心网络→20 元 月 XEN-512MB 30GB 3M 香港香港VPS[主机]
- 青云互联 香港安畅 CN2GIA VPS八折优惠 1G内存/单核/5Mb香港VPS[主机]
- 搬瓦工又一次关闭免费更换IP服务全球[VPS测评]
- Typecho 在小皮面板中添加伪静态规则全球[VPS测评]
- 深圳市城市交通规划设计研究中心股份有限公司关于与腾讯云计算(北京)有限责全球[VPS测评]
- 曾经最大跨境电商平台团队收缩,只剩20人丨GoingGlobal周报全球[VPS测评]
- 狗云DogYun,香港cn2云服务器/优惠码/流量包,按小时计费云服务器香港VPS[主机]
- 印象云vps,香港安畅gia低至22元起,1核1G内存,小带宽无限流量,香港VPS[主机]
- 一万网络双蛋狂欢活动:2核2G5M云服务器仅377.46元/年全球[VPS测评]
- EdgeNat双十二优惠:韩国/香港/美国全场VPS年付,2核2G2M仅韩国VPS[主机]
- 桔子数据:1核1GB香港CN2 GIA vps促销28元/月,最高30M香港VPS[主机]
- 再“掷”53亿元 宜家能否挽回中国消费者全球[VPS测评]
- VPS成立BurjeelHoldings全球[VPS测评]
- 桔子数据,香港安畅BGP大带宽VPS 首月五折体验 三网直连 14元/月香港VPS[主机]
- 六一云:香港CN2/洛杉矶高防85折优惠,CDN半年优惠,充值返利送水杯香港VPS[主机]
- CubeCloud,靠谱的香港cn2vps,美国cn2终身九折,原生IP美国VPS[主机]
- 易凡云:国内洛阳BGP,辽宁BGP防CC,云服务器低至48.26元/月,香港VPS[主机]
- 快云科技:2核2G3M香港云BGP/新界CN2云服务器,月付33元香港VPS[主机]
转载请注明原文地址:http://140.238.13.167:12355/read-9813.html











