In order to verify that our internet service provider is providing us the same speed that he had promised, we need to measure our internet speed. Many times we may also need to know the server’s internet speed.
If you have Ubuntu, then install the following package to measure internet speed from the command line:
sudo apt install speedtest-cli
Once this package is installed, then execute it by following command
speedtest-cli
You will see something like this:
Retrieving speedtest.net configuration…
Testing from RailTel Corporation Of India Ltd. (103.74.111.126)…
Retrieving speedtest.net server list…
Selecting best server based on ping…
Hosted by Ortel (Bhubaneswar) [0.70 km]: 201.076 ms
Testing download speed …… ……………………………………………………………… ..
Download: 4.49 Mbit / s
Testing upload speed …… ……………………………………………………………………………………
Upload: 2.15 Mbit / s
Python Script to measure Internet speed from Linux command line
If you wish you can also download SpeedTest’s Python script:
wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
and after download, it can be executed by Python
python speedtest.py OR python3 speedtest.py
[…] Ubuntu Linux 20.04 beta release is now available for download. Through this beta version, various enthusiastic testers…Read more Tips and How-tosAdministrator – April 1, 20200 […]
[…] Ubuntu Linux 20.04 beta release is now available for download. Through this beta version, various enthusiastic testers…Read more Tips and How-tosAdministrator – April 1, 20200 […]