By Zbat
Many more you wonder what speed is your seedbox is capable of throw 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

 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

 sudo apt-get install python

Now let’s download it 

 wget -O speedtest-cli
chmod +x speedtest-cli

if you run

 speedtest-cli -h

you will get this usage comands

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

Command line interface for testing internet bandwidth using

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 share
                   results image
  --simple         Suppress verbose output, only show basic information
  --list           Display a list of 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 :


You will get :

 Retrieving configuration...
Retrieving server list...
Testing from LeaseWeb B.V. (
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 like you do the speedtest as usual 

 ./speedtest-cli --share --simple

And you will get something like this

  Ping: 13.669 ms
Download: 808.39 Mbits/s
Upload: 140.10 Mbits/s
Share results:

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

  ./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 :

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 :

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

So we get the server number now let’s speedtest 

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

and we get output 

  Ping: 24.319 ms
Download: 777.96 Mbits/s
Upload: 90.35 Mbits/s
Share results:

This tutorial is made by me and inspirated from 
Special thanks to developers for making this awesome script !