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?

Speedtest

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.

Speedtest-cli

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.

speedtest-cli

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.

speed-test-screenshot

Thanks for reading.

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

Tags:
Comments:
  • 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!

    http://allaboutgold.eu/

  • 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.

    http://employmenthint.eu/

  • 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!

  • Cristine
    January 7, 2021 at 6:34 am

    Great blog right here! Additionally your website a lot
    up very fast! What web host are you the usage of? Can I am
    getting your affiliate link to your host? I wish my
    site loaded up as quickly as yours lol

  • Sharyn
    January 7, 2021 at 7:37 am

    Write more, thats all I have to say. Literally, it seems as though you
    relied on the video to make your point. You definitely know what youre talking about, why throw
    away your intelligence on just posting videos to your weblog when you could be giving us something informative to read?

  • Larae
    January 7, 2021 at 7:45 am

    Thanks for another wonderful post. Where else could
    anyone get that kind of information in such an ideal approach of writing?
    I have a presentation subsequent week, and I am on the look for
    such info.

  • Shani
    January 7, 2021 at 7:47 am

    An interesting discussion is definitely worth comment.

    I do believe that you ought to write more on this topic, it may not be a taboo
    subject but generally folks don’t speak about these issues.
    To the next! Cheers!!

  • Wilson
    January 7, 2021 at 8:17 am

    Greetings I am so thrilled I found your webpage,
    I really found you by error, while I was browsing on Google for something else,
    Anyhow I am here now and would just like to say cheers for a fantastic post
    and a all round entertaining blog (I also love
    the theme/design), I don’t have time to read through it all at the minute but I have bookmarked it and
    also added your RSS feeds, so when I have time I will be back to read
    much more, Please do keep up the excellent work.

  • Shelton
    January 7, 2021 at 8:25 am

    An outstanding share! I have just forwarded this onto
    a friend who was conducting a little homework on this.
    And he actually ordered me dinner because I stumbled upon it for him…
    lol. So allow me to reword this…. Thanks for the meal!!
    But yeah, thanks for spending some time to talk about this subject here
    on your blog.

  • 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.

    Cheers!

  • 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
    greatly.

  • 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.

  • Peninsula Daily News
    June 30, 2021 at 12:43 am

    Muchos Gracias for your article.Much thanks again. Fantastic.

Leave a reply