Linux 使用 speedtest 测速
Linux使用 speedtest 测网速
1、脚本地址 https://github.com/sivel/speedtest-cli
2、上脚本,自己看,so easy
[root@glusterfs-server01 ~]# yum -y install git
…………
此处省略 git 安装过程中的输出
…………[root@glusterfs-server01 shy]# mkdir git
[root@glusterfs-server01 shy]# cd git/
[root@glusterfs-server01 git]# git clone https://github.com/sivel/speedtest-cli.git
Cloning into 'speedtest-cli'...
remote: Enumerating objects: 30, done.
remote: Counting objects: 100% (30/30), done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 1110 (delta 18), reused 20 (delta 9), pack-reused 1080
Receiving objects: 100% (1110/1110), 312.73 KiB | 36.00 KiB/s, done.
Resolving deltas: 100% (650/650), done.
[root@glusterfs-server01 git]# cd speedtest-cli/
[root@glusterfs-server01 speedtest-cli]# ll
total 108
-rw-r--r-- 1 root root 1671 Mar 6 18:01 CONTRIBUTING.md
-rw-r--r-- 1 root root 11358 Mar 6 18:01 LICENSE
-rw-r--r-- 1 root root 35 Mar 6 18:01 MANIFEST.in
-rw-r--r-- 1 root root 5450 Mar 6 18:01 README.rst
-rw-r--r-- 1 root root 20 Mar 6 18:01 setup.cfg
-rw-r--r-- 1 root root 3277 Mar 6 18:01 setup.py
-rw-r--r-- 1 root root 2923 Mar 6 18:01 speedtest-cli.1
-rwxr-xr-x 1 root root 61423 Mar 6 18:01 speedtest.py
drwxr-xr-x 3 root root 4096 Mar 6 18:01 tests
-rw-r--r-- 1 root root 497 Mar 6 18:01 tox.ini-----------------下面执行脚本进行3次网速测试-----------------[root@glusterfs-server01 speedtest-cli]# python speedtest.py
Retrieving speedtest.net configuration...
Testing from China Unicom Liaoning (211.xxx.xxx.xxx 这是我的IP地址)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by China Telecom ZheJiang Branch (Hangzhou) [4.91 km]: 10.138 ms
Testing download speed................................................................................
Download: 144.67 Mbit/s
Testing upload speed................................................................................................
Upload: 133.65 Mbit/s
[root@glusterfs-server01 speedtest-cli]# python speedtest.py
Retrieving speedtest.net configuration...
Testing from China Unicom Liaoning (211.xxx.xxx.xxx 这是我的IP地址)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Hangzhou , Zhejiang Unicom (Hangzhou) [4.91 km]: 12.66 ms
Testing download speed................................................................................
Download: 126.66 Mbit/s
Testing upload speed................................................................................................
Upload: 208.55 Mbit/s
[root@glusterfs-server01 speedtest-cli]# python speedtest.py
Retrieving speedtest.net configuration...
Testing from China Unicom Liaoning (211.xxx.xxx.xxx 这是我的IP地址)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by China Telecom ZheJiang Branch (Hangzhou) [4.91 km]: 12.647 ms
Testing download speed................................................................................
Download: 127.26 Mbit/s
Testing upload speed................................................................................................
Upload: 158.29 Mbit/s
[root@glusterfs-server01 speedtest-cli]#
(结束)
Linux 使用 speedtest 测速相关推荐
- LINUX利用Speedtest测速
那么远程服务器呢?要知道大多数远程服务器是没有浏览器可以打开web页面的.用浏览器打开网页测速的瓶颈就在此,你不能按计划的对服务器进行定期的常规测试.这时需要到一个名为Speedtest-cli的软件 ...
- 云服务器测速脚本_Linux VPS服务器带宽测速脚本:Speedtest Linux进行网络测速方法...
新购买VPS服务器后,当然少不了对对VPS的性能做测试了,好让自己知道新购买到的VPS性能是怎么样的.下面就来为大家介绍一个Linux系统VPS带宽测速脚本Speedtest,和Linux VPS进行 ...
- 内网搭建speedtest测速工具
开源代码https://github.com/librespeed/speedtest 搭建教程: https://zhuanlan.zhihu.com/p/500402001 https://zhu ...
- Linux服务器在线测速
Linux服务器在线测速 wget https://raw.github.com/sivel/speedtest-cli/master/speedtest.py 或者 wget https://raw ...
- centos php github,在CentOS服务器上安装配置SpeedTest测速软件
本文讲述在CentOS 7服务器上安装配置SpeedTest测速软件.SpeedTest网站是全球范围的测速网站,一些大型的主机商都会使用它来测试速度.在某些时候,我们的服务器也要进行测试.当然要是在 ...
- 群晖(docker图形化界面)使用 SpeedTest 测速
群晖(docker图形化界面)使用 SpeedTest 测速 博主博客 https://blog.uso6.com https://blog.csdn.net/dxk539687357 本文主要介绍在 ...
- Linux下 网卡测速
参考: How do I verify the speed of my NIC? Linux下 网卡测速 命令: $ sudo ethtool eth0 Settings for eth0:Suppo ...
- linux下网卡测速,Linux下 网卡测速
参考: Linux下 网卡测速 命令: $ sudo ethtool eth0 Settings for eth0: Supported ports: [ TP ] Supported link mo ...
- Linux磁盘/硬盘测速,dd命令,测试顺序读写,测试4K性能
笔者也经常在网上查询信息,但发现很多信息都是照搬,内容甚至有错误,可用性很低.笔者就认为如果要分享就应该把遇到的问题真实的分享出来,让更多同路人少走弯路.节约时间. 觉得这篇文章有帮助的同学可以点个赞 ...
最新文章
- 经典 | 吴恩达《机器学习落地应用指南》(30页ppt)
- 强制解包看 Swift 的设计
- Eclipse 安装Gradle插件
- 解决cc1plus.exe: out of memory allocating bytes
- 中山大学Delphi视频教程 共51课
- 双重特异性酪氨酸磷酸化调节激酶1A行业调研报告 - 市场现状分析与发展前景预测
- 中南大学oj:1352: New Sorting Algorithm
- 植树问题java,云南省优秀多媒体育软件大赛公示.doc
- 魅族手机无限网无法连接服务器,魅族手机wifi为何连接不了了
- 简单的创建app id 的流程
- polybezier
- 【贪心】兔警官朱迪买礼物
- 正则校验字符串中汉字数量及总数量
- mysql commit阶段,MySQL 基本架构与日志两阶段提交
- 完美实现文字图片水平垂直居中
- 34 Places to Get Design Inspiration - Online and Offin
- 【知识】太阳能板行业生产加工步骤(超详细)
- Firefox火狐无法启动出现弹窗--小黑日常超细解决教程
- oracle vm virtualBox中配置独立的ip给ubuntu
- 离职的腾讯5万名员工创办了1372家公司,如今他们都咋样了?
热门文章
- 实战 本地服务器Confluence 7.13部署 一篇就够(从0开始安装配置 Debian11 + Mysql + Java)超详细
- Leon : YoloV5 结构原理全解析 思维导图版
- 屁股决定脑袋,人性在管理中的体现
- MySQL Sharding详解
- Json系列之二 json to bean(JSONObject类详解)
- ubuntu20.04里怎么创建.txt文件
- 徐志摩的诗,读了第一篇我就感动了!!!
- 手表在英语里watch源自wacche
- 超完整!Springboot整合redis集群(Sentine),spring boot自动配置集成redis集群(Sentine)
- hive币涨幅空间大吗_HIVE币今日价格_HIVE币最新消息_HIVE币行情走势图 - 币界网