Hachther Blog > Open Source  > How to measure the bandwidth speed on his VPS

How to measure the bandwidth speed on his VPS

You want to buy a VPS? Here are the parameters you must take in consideration: RAM, hard drive, CPU and also the bandwidth speed up and down. Some providers offer a GUI to monitor your VPS’s resources, but others do not. In the second case, the question is: how to measure the bandwidth speed on my VPS?


Anyone who has ever wondered what the actual bandwidth their ISP provides (for good or bad reasons), and who have sought an answer to this question probably know Speedtest. But for those who don’t know it, Speedtest is a great bandwidth test tool available here: http://www.speedtest.net/. This is the most popular in the field and it is free. It is available on the web and in mobile applications. However, there is a program written in Python that allows you to interact with Speedtest, thus allowing you to test your bandwidth in command line. It is this program that we will use in the rest of our article.


It is the command line interface that allows you to measure the bandwidth speed. It interacts with Speedtest.net and measures the speed of the bandwidth up and down. So in your VPS you simply connect by SSH on your VPS and follow the following steps.

Step I: Installation

Being a python module, it can be installed either with pip, or with easy_install or by direct download. Here’s how to install:

#Installation with pip
pip install speedtest-cli</code>

#Installation with easy_install
easy_install install speedtest-cli

#Direct download of the script
wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
chmod +x speedtest-cli

Step II: Use

Once installed, you just need to run a command (it’s the simplest use) and let the magic work.


Here is the result of executing the command below. As you can see, it indicates that the download speed is 90.88 Mbit/s while the download speed is 102.01 Mbit/s.


Thanks for reading.

Source: http://www.servermom.org/test-internet-speed-vps/

  • gold as an investment
    May 15, 2017 at 5:38 am

    great publish, very informative. I’m wondering why the opposite experts of this sector don’t understand this. You must continue your writing. I’m confident, you have a great readers’ base already!


  • educational sites
    May 15, 2017 at 5:45 am

    This post provides clear idea in favor of the new visitors of blogging, that in fact how to do running a blog.
    educational sites http://educationpoints.eu/

  • college tips
    May 16, 2017 at 2:38 pm

    Hi there all, here every person is sharing such know-how, thus it’s nice to read this blog, and I used to visit this web site everyday.
    college tips http://learningtips.eu/

  • education online
    May 18, 2017 at 1:16 am

    Helpful information. Lucky me I found your web site accidentally, and I am shocked why this coincidence did not happened in advance! I bookmarked it.
    education online http://learningtips.eu/

  • employment
    May 18, 2017 at 1:31 am

    Heya i’m for the first time here. I found this board and I find It really useful & it helped me out a lot. I hope to give something back and help others like you aided me.


  • financial advisor marketing
    May 18, 2017 at 10:52 am

    Hi! I’ve been following your weblog for a while now and finally got the courage to go ahead and give you a shout out from Lubbock Texas! Just wanted to mention keep up the excellent job!

  • Noella
    January 7, 2021 at 8:40 am

    I don’t even understand how I ended up right here, but I believed
    this publish was once great. I do not recognize
    who you might be however definitely you are going to a well-known blogger if you aren’t already.


  • Reina
    January 7, 2021 at 9:12 am

    whoah this weblog is fantastic i love reading your posts.

    Keep up the good work! You know, lots of persons are hunting round for this info, you can help them

  • Crystle
    January 7, 2021 at 9:18 am

    Generally I don’t read post on blogs, but I would
    like to say that this write-up very pressured me to try and do it!

    Your writing style has been amazed me. Thank you, very great article.

Leave a reply