Speedtest for your Linux server

Have you ever wonder how to test network speed (Internet specifically) of your server? Well, with GUI you can use something like speedtest.net, but how about CLI server, where you only have command-line interface? There are indeed several option:

1. Speedtest for CLI: https://pypi.python.org/pypi/speedtest-cli

Install:

easy_install speedtest-cli

Use:

speedtest
2. wget

You first need to find some “big” files. My favorite is Ubuntu image:

http://mirror.anl.gov/pub/ubuntu-iso/DVDs/ubuntu/14.04/release/ubuntu-14.04-server-amd64+mac.iso

Use:

wget -O /dev/null your_link

It will actually not save anything on your system, so you don’t have to deal with clean up stuffs after you’ve done.