I cannot even begin to count how many times I have wanted to run a speedtest against speedtest.net, but since I was on a cli only server, I was left frustrated.
This evening (or morning, depending on your perspective), I came across a sweet github project! For those that are wondering, it is a python based cli interface to the speedtest.net site. It works with python 2.4 all the way up to current 3.4.
Installation can be handled in several ways too! From pip to wget/curl.
My chosen installation in this case, was to use wget:
wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py chmod +x speedtest-cli
Once installed, you can either execute it, or you can find out about the options. I’ll leave the rest for you to discover.