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

Code:
 python --version

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

Code:
 sudo apt-get install python

Now let's download it 

Code:
 wget -O speedtest-cli https://raw.github.com/sivel/speedte...eedtest_cli.py
chmod +x speedtest-cli

if you run

Code:
 speedtest-cli -h

you will get this usage comands

Code:
 
usage: speedtest-cli [-h] [--bytes] [--share] [--simple] [--list]
                     [--server SERVER] [--mini MINI] [--source SOURCE]
                     [--version]

Command line interface for testing internet bandwidth using speedtest.net.
--------------------------------------------------------------------------
https://github.com/sivel/speedtest-cli

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

Now let's use it 

if you run simple :

Code:
 ./speedtest-cli

You will get :

Code:
 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

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

Code:
 ./speedtest-cli --share --simple

And you will get something like this

Code:
  Ping: 13.669 ms
Download: 808.39 Mbits/s
Upload: 140.10 Mbits/s
Share results: http://www.speedtest.net/result/3472429138.png

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

Code:
  ./speedtest-cli --list > list.txt 
nano list.txt

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 :

Code:
  1854) MWEB Connect (London, Great Britain) [415.33 km]

So we get the server number now let's speedtest 

Code:
  
 ./speedtest-cli --share --simple --server 1854

and we get output 

Code:
 Ping: 24.319 ms
Download: 777.96 Mbits/s
Upload: 90.35 Mbits/s
Share results: http://www.speedtest.net/result/3472460953.png


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

0/5 (0 Reviews)

Promoting Torrent privacy since 2012

Company