No.38
It's possible to test your internet speed using only the command line instead of the web version of speedtest.net.
https://github.com/sivel/speedtest-cli
1. Download speedtest-cli (speedtest-cli works with Python 2.4-3.7):
$ curl -Lo speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
2. Move speedtest.py to /usr/local/bin/ and correct the permissions (I'm assuming that's where you want to install it):
$ sudo mv speedtest.py /usr/local/bin/speedtest && sudo chmod 755 /usr/local/bin/speedtest && sudo chown root:root /usr/local/bin/speedtest
3. Read the speedtest-cli help:
$ speedtest -h
If you need to know the specific servers that speedtest.net uses, go to: http://c.speedtest.net/speedtest-servers-static.php
And if you want the ip address of any server, use dig (or nslookup) like this: $ dig speed-server.speedtest.net
Compass.
____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
Post last edited at