zoukankan      html  css  js  c++  java
  • linux中利用speedtest-cli测网速

    [root@elegant-snap-3 you-get]# wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
    --2019-10-22 05:15:00--  https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
    Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.196.133
    Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.196.133|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 65018 (63K) [text/plain]
    Saving to: ‘speedtest.py’
    
    100%[=================================================================================================================================>] 65,018      --.-K/s   in 0.003s  
    
    2019-10-22 05:15:00 (22.9 MB/s) - ‘speedtest.py’ saved [65018/65018]
    
    [root@elegant-snap-3 you-get]# chmod +x ./speedtest.py 
    [root@elegant-snap-3 you-get]# ./speedtest.py 
    Retrieving speedtest.net configuration...
    Testing from IT7 Networks (176.122.184.179)...
    Retrieving speedtest.net server list...
    Selecting best server based on ping...
    Hosted by Bel Air Internet LLC (Los Angeles, CA) [0.90 km]: 3.238 ms
    Testing download speed................................................................................
    Download: 833.87 Mbit/s
    Testing upload speed................................................................................................
    Upload: 793.63 Mbit/s
    [root@elegant-snap-3 you-get]# 
    

    就这样,我的国外vps速度很快,然而在国内的腾讯云vps上下行速度慢10倍,上行速度慢百倍,国内的vps硬盘慢网速也慢而且还贵,不是地理位置近些延迟低些真的毫无优点。。

    image

  • 相关阅读:
    学习MeteoInfo二次开发教程(十一)
    学习MeteoInfo二次开发教程(十)
    学习MeteoInfo二次开发教程(九)
    学习MeteoInfo二次开发教程(八)
    linux 03 命令 续
    linux 02 基础命令
    linux 01 基础命令
    第九节课 迭代器生成器、模块和包
    第八节课 文件、异常、文件的输入输出
    第七节课 内置函数、作用域、闭包、递归
  • 原文地址:https://www.cnblogs.com/yongestcat/p/11721088.html
Copyright © 2011-2022 走看看