Me Geeky

Sharing Technology with You
Menu
  • Android
    • Gadgets
    • Android News
  • Apple
    • Activation Bypass
    • Cydia Tweaks And Apps
    • Quick Fixes
    • Download IPSW
  • Downloads
    • Custom Roms
    • Mods & Tweaks
    • Stock Roms
  • Reviews
    • Nokia
    • QMobile
    • Samsung
    • App Reviews
    • Apple Reviews
    • Others
  • Tips & Tricks
  • How to
  • Linux
Home
How to
How to test internet speed of Linux Server from CLI
How to

How to test internet speed of Linux Server from CLI

Muhammad Hashim

Whether you get a VPS or a Dedicated Server, The main reason behind the buy is to run Webserver, FTP server, Database servers or simply to Download and Upload some big files to the Internet. The most important advantage of a VPS or a Dedicated Server is that it mostly had blazing faster internet than your home internet.

Today We’ll guide you how you can run a speedtest right from the Command Line Interface of your Linux Server. The process is very simple and requires only a couple of commands to be executed from SSH Client.

Prerequisite:

  1. A VPS or Dedicated Linux based server.
  2. Root access to your server
  3. SSH Client such as Putty
  4. 5 minutes of your time.

How to test internet speed of Linux Server from CLI:

  • First of all you have to login to your VPS as root using SSH Client.
  • Now we have to download a Speedtest python script from a URL. If you don’t know how to do this, Just run the following command and you would be good to go.
    wget https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py

 

  • Now we have to modify the permissions of the script which we just donwloaded, by running the following command.
    chmod a+rx speedtest_cli.py
  • Now we have to move the script to an executable location, Just execute the following command.
    mv speedtest_cli.py /usr/local/bin/speedtest-cl
  • Now we will set the owner of that script. Currently we are running the SSH as root so we’ll execute the following command to make root user owner of that script file.
    chown root:root /usr/local/bin/speedtest-cli
  • We’ve successfully installed the script and now we just have to run the testing script by executing the following command.
    speedtest-cli

 

How to test internet speed of Linux Server from CLI

  • If you want to share your Internet speed with your friends or with us in comments section. You have to run the following command.
    speedtest-cli --share

How to test internet speed of Linux Server from CLI

  • Simply share the link with your friends or in the comments to show your servers internet speed off. 🙂
  • If you want to run the Internet speed from a Speedtest server from any location around the globe. Run the following command and replace the “1767” with the ID of the server from the list given below.
    speedtest-cli --share --server=1767

How to test internet speed of Linux Server from CLI

If you find our guides helpful, Do join us on social networks and share this with your friends 🙂 Don’t forget to share your Server’s internet speed with us 🙂

 

Share
Tweet
Google+
Pinterest
Stumble
Prev Article
Next Article

Related Articles

Well people are asking to us on our social connects …

How To Hack In-App Purchases Without Root

Google Play is the hub of millions of apps and …

How To Fix Google Play No Connection Error – Root or Non-Root

About The Author

Muhammad Hashim

Leave a Reply

Cancel reply

Pages

  • About us
  • Contact us
  • Download IPSW
  • FB Policy
  • Sitemap

Me Geeky

Sharing Technology with You
Copyright © 2023 Me Geeky
Theme by MyThemeShop.com
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.

SAVE & ACCEPT