How To Test Internet Speed Of Your VPS or Server

Spread the love

You may want to test your internet seed for your VPS or server. I have a DigitalOcean VPS and I want to see how the internet speed is from different locations.

If you want to host a website on a VPS you may want to see how fast it is as is important (among other things ) for the fast loading off your site.

Another reason is that you may have an application that is connecting or doing several tests on internet facing portals or server and here also the speed is very important.

In this article I will share the exact steps with my
DigitalOcean results.

1.Login With SSH to your server.

2.Get the speedtest.py script:

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

3. Give the execution rights:

chmod a+rx speedtest.py

4. Run the script:

./speedtest.py

5. Check Results

Retrieving speedtest.net configuration...
Testing from Digital Ocean (104.236.95.236)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Sprint (Harrison, NJ) [10.27 km]: 5.426 ms
Testing download speed................................................................................
Download: 891.39 Mbit/s
Testing upload speed................................................................................................
Upload: 795.41 Mbit/s

You can test the internet speed of the VPS agains different locations to see how fast it is with that region. I have the VPS in USA and I want to see the internet speed with Europe as I may have some apps there. To do this you need to:

READ  How to Launch and Make the Most of a Business Website

1.List the available test servers with below:

[root@ns1 ~]# ./speedtest.py --list | more

Retrieving speedtest.net configuration...
  982) Interserver, inc (Secaucus, NJ, United States) [8.44 km]
22774) DediPath (Secaucus , NJ, United States) [8.46 km]
15784) Sprint (Harrison, NJ, United States) [10.27 km]
14854) QTS Data Centers (Jersey City, NJ, United States) [12.85 km]
13098) Pilot (New York, NY, United States) [17.50 km]
 5029) AT&T (New York, NY, United States) [17.50 km]
16976) Spectrum (New York, NY, United States) [17.50 km]
10390) Speedtest.net (New York, NY, United States) [17.50 km]
  663) Optimum Online (New York, NY, United States) [17.50 km]
10546) Sprint (New York, NY, United States) [17.50 km]
10268) Interoute VDC (New York, NY, United States) [17.50 km]
 7170) ISPnet, Inc (New York, NY, United States) [17.50 km]
16888) Natural Wireless (New York, NY, US) [17.50 km]
16910) Ylinx, LLC (New York, NY, US) [17.50 km]
 6030) fdcservers.net (New York, NY, United States) [17.50 km]
10591) Charter Communications (New York, NY, United States) [17.50 km]
18381) AT&T Wireless (New York, NY, United States) [17.50 km]
16686) CCleaner (New York, NY, United States) [17.50 km]
20326) Honest.net (New York, NY, United States) [17.50 km]
21313) Data Room (New York, NY, United States) [17.50 km]
21016) Starry, Inc. (New York, NY, United States) [17.50 km]
22715) Newforce Solutions (New York, NY, United States) [17.50 km]
18956) Hivelocity Hosting (New York, NY, United States) [17.50 km]
18098) Atlantic Metro (New York, NY, United States) [17.50 km]
17545) Planet Networks (Parsippany, NJ, US) [23.78 km]
13669) Green House Data (Orangeburg, NY, United States) [28.39 km]
14855) QTS Data Centers (Piscataway, NJ, United States) [41.52 km]
 6166) Webair.com (Garden City, NY, United States) [42.79 km]
19352) Vultr (Matawan, NJ, United States) [47.31 km]
13003) Optimum Online (Hicksville, NY, United States) [50.28 km]
 1769) Comcast (Plainfield, NJ, United States) [53.45 km]
11301) Hammer Fiber (Point Pleasant Beach, NJ, United States) [82.99 km]
11612) KamaTera INC (New Jersey, NJ, United States) [89.23 km]
21181) NCN Data, LLC (Stroudsburg, PA, United States) [90.42 km]
13191) Colonial IU20 (Bethlehem, PA, United States) [106.43 km]
15197) PenTeleData (Palmerton, PA, United States) [123.97 km]
 7788) Wayne Highlands School District (Honesdale, PA, United States) [124.56 km]
14235) Frontier (Wallingford, CT, United States) [130.04 km]
 4847) Hotwire Fision (Philadelphia, PA, United States) [131.39 km]
10979) School District of Philadelphia (Philadelphia, PA, United States) [131.39 km]
21480) MTC (Margaretville, NY, United States) [152.20 km]
 8688) NEPA Fiber (Wilkes-Barre, PA, United States) [153.22 km]
21763) Local Secure Data (Wilkes-Barre, PA, United States) [153.22 km]
 7568) Mid-Hudson Data Corp (Hudson, NY, United States) [158.16 km]
 3311) Connecticut Education Network (Hartford, CT, United States) [159.34 km]
13299) Reading School District (Reading, PA, United States) [160.95 km]
17610) T-Mobile (Bloomfield, CT, United States) [161.19 km]
 9840) Comcast (New Castle, DE, United States) [178.06 km]
--More--

To display only the Europe locations or any country as they are a lot off server you can run with grep command like for example Country Romania:

[root@ns1 ~]# ./speedtest.py --list | grep -i Romania
 2007) DIGI (Oradea, Romania) [7215.24 km]
 5184) Hextech air conditioning (Oradea, Romania) [7215.24 km]
15281) CobraNET SRL (Arad, Romania) [7231.41 km]
 4935) RCS-RDS (Timisoara, Romania) [7252.59 km]
  668) Bensoft Telecom (Timisoara, Romania) [7252.59 km]
22714) Computer Wired SRL (Timisoara, Romania) [7252.59 km]

2. Run the speed test against the country you want with below command and number from begining:

[root@ns1 ~]# ./speedtest.py --server 2007
Retrieving speedtest.net configuration...
Testing from Digital Ocean (104.236.95.236)...
Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by DIGI (Oradea) [7215.24 km]: 185.344 ms
Testing download speed................................................................................
Download: 136.33 Mbit/s
Testing upload speed................................................................................................
Upload: 126.13 Mbit/s

This is the easiest way to have your VPS speed tested. As you can see DigitalOcean
has some very good speeds and it can be used without any issues as I have it for some time.. The review you can check it here: DigitalOcean Review.

READ  How to Find & Remove Duplicate Files in Windows 10

Related