linux服务器测网速,Linux服务器测试网速

[root@leekwen ~]# cat /etc/issue

CentOS release 6.2 (Final)

Kernel \r on an \m

[root@leekwen ~]# wget https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py --no-check-certificate

--2014-04-10 01:03:39-- https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py

Resolving raw.github.com... 103.245.222.133

Connecting to raw.github.com|103.245.222.133|:443... connected.

HTTP request sent, awaiting response... 200 OK

Length: 20043 (20K) [text/plain]

Saving to: speedtest_cli.py

100%[=====================================>] 20,043 900.42K/s in 0.1s

2014-04-10 01:03:50 (9.42 KB/s) - speedtest_cli.py

[root@leekwen ~]# chmod 755 speedtest_cli.py

[root@leekwen ~]# ./speedtest_cli.py

Retrieving speedtest.net configuration...

Retrieving speedtest.net server list...

Testing from China Telecom Zhejiang (60.103.20.39)...

Selecting best server based on ping...

Hosted by China Mobile Group Shanghai Co.,LTD (Shanghai) [162.85 km]: 17.881 ms

Testing download speed........................................

Download: 100.59 Mbit/s

Testing upload speed..................................................

Upload: 28.95 Mbit/s

[root@leekwen ~]#

原文参见:http://xmodulo.com/2014/01/check-internet-speed-command-line-linux.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值