Use Speedtest.net from your vps without using vnc

Wouldn’t it be nice to be able to test your upload/download speed from your VPS and share the “famous” picture from speedtest.net ?

Speedtest.net uses Flash to test upload/download speed which is a hassle on most VPS.
The long way to get this is to install VNC and run it from a browser, but that is no longer necessary.
We can now use Matt Martz python script speedtest-cli to accomplish this from the commandline.

 

Prerequisites:

  • Python¬†2.4-2.7 or 3

After you have installed Python on your vps download the speedtest-cli file from github.

when the download is complete, make the file executable with:

and then run it with:

after the test are run you will get the url to your speedtest.net image.

heres an example ran from a Securedragon VPS

51 comments for “Use Speedtest.net from your vps without using vnc

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.