良许Linux教程网 干货合集 Linux下安装并使用Speedtest具体方法

Linux下安装并使用Speedtest具体方法

Speedtest.net强大而知名的全球宽带网络速度测试网站,采用Flash载入界面,Alexa世界排名非常高,Speedtest.net在全球有数百个测试节点,国内有测速节点几十个,下面重点为大家讲解一下Linux下安装并使用Speedtest具体方法。

安装speedtest-cli

Github链接:https://github.com/sivel/speedtest-cli Speendtest.net官网:http://www.speedtest.net/ 测试本机所在网络出口的带宽,访问Speendtest.net,点击首页的Begin开始测试,等待几秒,查看测试结果:

Linux下使用Speedtest测试网速Linux下使用Speedtest测试网速
Linux下使用Speedtest测试网速Linux下使用Speedtest测试网速

pip安装

speedtest是用python写的,没使用过pip的需要先安装pip,

pip安装:https://pip.pypa.io/en/stable/installing/ #开启epel源

yum install python-pip –y

安装speedtest-cli

pip install speedtest-cli

安装完成测试

which speedtest-cli | bash –
Linux下使用Speedtest测试网速Linux下使用Speedtest测试网速
Linux下使用Speedtest测试网速Linux下使用Speedtest测试网速

github安装

pip install git+https://github.com/sivel/speedtest-cli.git

或者

git clone https://github.com/sivel/speedtest-cli.git
python speedtest-cli/setup.py install

shell安装

wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest_cli.py
chmod +x speedtest-cli
./speedtest-cli

speedtest-cli使用

speedtest-cli –h
/usr/bin/speedtest-cli –share
/usr/bin/speedtest-cli –list

Linux下使用Speedtest测试网速Linux下使用Speedtest测试网速Linux下使用Speedtest测试网速Linux下使用Speedtest测试网速

以上就是良许教程网为各位朋友分享的Linux系统相关内容。想要了解更多Linux相关知识记得关注公众号“良许Linux”,或扫描下方二维码进行关注,更多干货等着你 !

img
本文由 良许Linux教程网 发布,可自由转载、引用,但需署名作者且注明文章出处。如转载至微信公众号,请在文末添加作者公众号二维码。
良许

作者: 良许

良许,世界500强企业Linux开发工程师,公众号【良许Linux】的作者,全网拥有超30W粉丝。个人标签:创业者,CSDN学院讲师,副业达人,流量玩家,摄影爱好者。
上一篇
下一篇

发表评论

联系我们

联系我们

公众号:良许Linux

在线咨询: QQ交谈

邮箱: yychuyu@163.com

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

关注微博
返回顶部