[email protected]

      How to test your seedbox speed?

      By Zbat
      Many more you wonder what speed is your seedbox is capable of throw speedtest.net but don’t have a vnc+gui interface and firefox +adobe plugin to do it
      There is a solution now First of all you need Python 2.4-3.4 installed (if you have deluge installed you have it )
      you can check by writing this command in ssh

      <span style="color: #000000;"> python --version</span>

      if it says something like this: Python 2.7.3 you have it , if says : command not found you don’t have it

      IF you don’t have it run this command to install it

      <span style="color: #000000;"> sudo apt-get install python</span>

      Now let’s download it 

      <span style="color: #000000;"> wget -O speedtest-cli <a style="color: #1a95dc;" href="https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py" target="_blank"><span style="color: #000000;">https://raw.github.com/sivel/speedte...eedtest_cli.py</span></a>
      chmod +x speedtest-cli</span>

      if you run

      <span style="color: #000000;"> speedtest-cli -h</span>

      you will get this usage comands

      <span style="color: #000000;"> 
      usage: speedtest-cli [-h] [--bytes] [--share] [--simple] [--list]
                           [--server SERVER] [--mini MINI] [--source SOURCE]
      Command line interface for testing internet bandwidth using speedtest.net.
      <a style="color: #1a95dc;" href="https://github.com/sivel/speedtest-cli" target="_blank"><span style="color: #000000;">https://github.com/sivel/speedtest-cli</span></a>
      optional arguments:
        -h, --help       show this help message and exit
        --bytes          Display values in bytes instead of bits. Does not affect
                         the image generated by --share
        --share          Generate and provide a URL to the speedtest.net share
                         results image
        --simple         Suppress verbose output, only show basic information
        --list           Display a list of speedtest.net servers sorted by distance
        --server SERVER  Specify a server ID to test against
        --mini MINI      URL of the Speedtest Mini server
        --source SOURCE  Source IP address to bind to
        --version        Show the version number and exit</span>

      Now let’s use it 

      if you run simple :

      <span style="color: #000000;"> ./speedtest-cli</span>

      You will get :

      <span style="color: #000000;"> Retrieving speedtest.net configuration...
      Retrieving speedtest.net server list...
      Testing from LeaseWeb B.V. (xxx.xxx.xxx.xxx)...
      Selecting best server based on ping...
      Hosted by Websitebeheer JD (Dronten) [4.33 km]: 14.385 ms
      Testing download speed........................................
      Download: 454.51 Mbits/s
      Testing upload speed..................................................
      Upload: 124.70 Mbits/s</span>

      I think the most important feature is the share, that generates a link to the speedtest.net like you do the speedtest as usual 

      <span style="color: #000000;"> ./speedtest-cli --share --simple</span>

      And you will get something like this

      <span style="color: #000000;">  Ping: 13.669 ms
      Download: 808.39 Mbits/s
      Upload: 140.10 Mbits/s
      Share results: http://www.speedtest.net/result/3472429138.png</span>

      if you want to make a speedtest to a specific server I recomand to do this (default is make the speedtest to the closest location) if you do not know the server number

      <span style="color: #000000;">  ./speedtest-cli --list &gt; list.txt 
      nano list.txt</span>

      This comand send output to file and now we can see it 

      This is the file generated : http://www.girlshare.ro/33530118.6

      In this text is all numbers of server sorted by distance 

      If i want to make a speedtest let’s say to London, so search for London and you will find the first :

      <span style="color: #000000;">  1854) MWEB Connect (London, Great Britain) [415.33 km]</span>

      So we get the server number now let’s speedtest 

      <span style="color: #000000;">  
       ./speedtest-cli --share --simple --server 1854</span>

      and we get output 

      <span style="color: #000000;">  Ping: 24.319 ms
      Download: 777.96 Mbits/s
      Upload: 90.35 Mbits/s
      Share results: http://www.speedtest.net/result/3472460953.png</span>

      This tutorial is made by me and inspirated from https://github.com/sivel/speedtest-cli 
      Special thanks to developers for making this awesome script !

      • Pingback: Frederick()