How to Test Internet Connection Speed using Speedtest-Cli on Server Terminal

Installing speedtest-cli Using pip command:

First, install pip with the following command:

sudo apt-get install python-pip

Once pip installed, now install speedtest-cli by using pip command:

sudo pip install speedtest-cli

Installing speedtest-cli Manually

To installing speedtest-cli in manually method you need to download the latest speedtest-cli python script from github:

sudo wget https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py

make speedtest_cli.py executable

sudo chmod a+rx speedtest_cli.py

Move speedtest_cli.py to directory /usr/bin

sudo mv speedtest_cli.py /usr/bin/speedtest-cli

Test Connection Speed using Speedtest-cli

It is easy to check internet speed with speedtest-cli. Just type command speedtest-cli without any arguments.

speedtest-cli

After execute this command it will automatically detect locate the closest of Speedtest server (in terms of geographical distance) and show the report download speed an upload speed

  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

How do I upload my Website?

The best option for this is FTP (File Transfer Protocol). You can find many free applications...

Getting Started - For new customers

Welcome to ProHosterz. ProHosterz is committed to providing reliable and affordable web hosting...

Limiting what search engines can index using /robots.txt

Various search engines such as Google have what are called "spiders" or "robots" continually...

INFO.XML error in Softaculous

If you are receiving following error in Softaculous while installing any script, then bellow...

Redirecting non-www to www with .htaccess

If you want to redirect all non-www requests to your site to the www version, all you need to do...