zoukankan      html  css  js  c++  java
  • Linux服务器用speedtest 测试上传下载速度

    如何测试Linux服务器上传下载速度
    方法一、


    方法二、登陆到服务器的Home目录下,下载speedtest.py

    sudo wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py

    加上执行权限,需要有python环境支持下执行

    sudo chmod 755 speedtest.py
    ./speedtest.py
    [wuyun@localhost home]$ ./speedtest.py 
    Retrieving speedtest.net configuration...
    Testing from China Telecom (219.131.192.35)...
    Retrieving speedtest.net server list...
    Selecting best server based on ping...
    Hosted by CTM Internet Services (Macau) [8.74 km]: 43.531 ms
    Testing download speed................................................................................
    Download: 74.49 Mbit/s
    Testing upload speed................................................................................................
    Upload: 80.77 Mbit/s

    最好选择网络空闲时段再测试。它会自动发现离你最近的Speedtest.net服务器(地理距离),然后显示测试的网络上/下行速率。

     

  • 相关阅读:
    自定义组件要加@click方法
    绑定样式
    647. Palindromic Substrings
    215. Kth Largest Element in an Array
    448. Find All Numbers Disappeared in an Array
    287. Find the Duplicate Number
    283. Move Zeroes
    234. Palindrome Linked List
    202. Happy Number
    217. Contains Duplicate
  • 原文地址:https://www.cnblogs.com/ylnic/p/10058418.html
Copyright © 2011-2022 走看看