SSH Command to test VPS server speed?

Gmeister4

Well-known member
Joined
Apr 19, 2016
Messages
150
Best answers
0
Ratings
10
Points
18
#1
Am I able to use a tool or a command to view system information and test my VPS network speed? I would like to do via SSH :)
 
Joined
Dec 6, 2016
Messages
18
Best answers
0
Ratings
6
Points
0
#2
Where the server located?
 

VirtuBox

Global Mod
Staff Member
Joined
May 3, 2016
Messages
1,551
Best answers
4
Ratings
412 13
Points
83
#4
Am I able to use a tool or a command to view system information and test my VPS network speed? I would like to do via SSH :)
You can use the benchmark script bench-2 from github.

Code:
wget https://raw.githubusercontent.com/hidden-refuge/bench-sh-2/master/bench.sh
bash bench.sh
 

Kaz Wolfe

Well-known member
Joined
Jul 7, 2016
Messages
303
Best answers
0
Ratings
22
Points
18
#14
Kaz Wolfe
Not bad, it is useful tool to test speed for a VPS

I tried and got the result on a VPS 2 GB of RAM.


Code:
[[email protected] ~]# wget https://raw.githubusercontent.com/hidden-refuge/bench-sh-2/master/bench.sh
--2017-05-26 01:11:24--  https://raw.githubusercontent.com/hidden-refuge/bench-sh-2/master/bench.sh
Resolving raw.githubusercontent.com... 151.101.44.133
Connecting to raw.githubusercontent.com|151.101.44.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14111 (14K) [text/plain]
Saving to: bench.sh”

100%[======================================>] 14,111      --.-K/s   in 0.02s

2017-05-26 01:11:24 (875 KB/s) - bench.sh” saved [14111/14111]

[[email protected] ~]# bash bench.sh
Benchmark started on Fri May 26 01:11:29 EDT 2017
Full benchmark log: /root/bench.log

System Info
-----------
Processor       : Intel Core Processor (Haswell, no TSX)
CPU Cores       : 1
Frequency       : 2394.474 MHz
Memory          : 1829 MB
Swap            : 0 MB
Uptime          : 3:05,

OS              : CentOS release 6.9 (Final)
Arch            : x86_64 (64 Bit)
Kernel          : 2.6.32-696.1.1.el6.x86_64
Hostname        : srv.example.com


Speedtest (IPv4 only)
---------------------
Your public IPv4 is 149.xx.xxx.xxx

Location                Provider        Speed
CDN                     Cachefly        11.8MB/s

Atlanta, GA, US         Coloat          6.27MB/s
Dallas, TX, US          Softlayer       11.6MB/s
Seattle, WA, US         Softlayer       11.1MB/s
San Jose, CA, US        Softlayer       10.4MB/s
Washington, DC, US      Softlayer       4.87MB/s

Tokyo, Japan            Linode          7.14MB/s
Singapore               Softlayer       4.94MB/s

Rotterdam, Netherlands  id3.net         10.6MB/s
Haarlem, Netherlands    Leaseweb        11.3MB/s


Disk Speed
----------
I/O (1st run)   : 297 MB/s
I/O (2nd run)   : 265 MB/s
I/O (3rd run)   : 272 MB/s
Average I/O     : 278 MB/s
 
Joined
May 20, 2017
Messages
54
Best answers
0
Ratings
3
Points
0
#6
linux network speed test : wget link
ex : wget http://ipv4.proof.ovh.net/files/10Gio.dat
http://85.17.128.2/100mb.bin

http://mirror.leaseweb.com/speedtest/100mb.bin

http://mirror.leaseweb.com/speedtest/1000mb.bin

http://mirror.de.leaseweb.net/speedtest/100mb.bin

http://mirror.de.leaseweb.net/speedtest/1000mb.bin

http://108.59.15.1/100mb.bin

http://108.59.15.1/1000mb.bin

ftp://ftp.tweakdsl.nl/test/100mb.bin

ftp://ftp.xs4all.nl/pub/test/100mb.bin

http://cachefly.cachefly.net/10mb.test

http://cachefly.cachefly.net/100mb.test

http://cachefly.cachefly.net/200mb.test

http://cachefly.cachefly.net/2000mb.test

http://speedtest.onsbrabantnet.nl/files/10mb.bin

http://speedtest.onsbrabantnet.nl/files/100mb.bin

http://speedtest.onsbrabantnet.nl/files/512MByte.bin

http://speedtest.onsbrabantnet.nl/files/1024MByte.bin

http://speedtest.exsilia.net/100mb.bin

ftp://ftp.iae.nl/100MB.bin

http://95.215.63.211/1000mb.bin

http://test.unet.nl/1000mb.bin

http://www.pro-noc.nl/1000mb.bin

http://www.kpnbroadbandvalley.nl/mxarena/downloads/10mb.bin

http://www.kpnbroadbandvalley.nl/mxarena/downloads/50mb.bin

http://www.kpnbroadbandvalley.nl/mxarena/downloads/100mb.bin

http://chi01-spd.neosurge.com/1GBtest.bin

http://www.bbned.nl/scripts/speedtest/download/file1000mb.bin

http://limestonenetworks.com/test500.zip

ftp://dl.solcon.nl/pub/test/100mb.bin

ftp://dl.solcon.nl/pub/test/1000mb.bin

http://speedtest.dal01.softlayer.com/downloads/test500.zip

http://speedtest.sea01.softlayer.com/downloads/test500.zip

http://speedtest.wdc01.softlayer.com/downloads/test500.zip

http://noc.cdp.pl/get/500mb.cdp

http://mirror.intrapower.net.au/500MB.dat

http://67.159.44.209/1GBtest.zip

http://208.85.242.69/1g.bin

http://74.63.66.114/1GBtest.zip

http://76.73.0.4/1GBtest.zip

http://test-debit.free.fr/image.iso

http://test.north.kz/downloads/1000mb.test.txt

http://vinax.net/1GBtest.zip

http://lg.denver.fdcservers.net/1GBtest.zip

http://noc.gts.pl/500mb.gts

http://www.mangelot.nl/100mb.bin

http://www.mangelot.nl/1000mb.bin

http://www.singlehop.com/speedtest/500megabytefile

http://servermars.nl/100mb.bin

http://servermars.nl/1000mb.bin

http://ns0.multikabel.net/100mb.nul

http://mirror.3fl.net.au/pub/speedtest/1mb.txt

http://mirror.3fl.net.au/pub/speedtest/10mb.txt

http://mirror.3fl.net.au/pub/speedtest/50mb.txt

http://mirror.3fl.net.au/pub/speedtest/100mb.txt

http://mirror.3fl.net.au/pub/speedtest/500mb.txt

http://test-bgp.iweb.com/200mbtest.bin

http://ipv4.proof.ovh.net/files/10Gio.dat

http://proof.ovh.net/files
 

VirtuBox

Global Mod
Staff Member
Joined
May 3, 2016
Messages
1,551
Best answers
4
Ratings
412 13
Points
83
#7

qbeststar

Well-known member
Joined
May 6, 2017
Messages
116
Best answers
0
Ratings
8
Points
18
#11
Am I able to use a tool or a command to view system information and test my VPS network speed? I would like to do via SSH :)
You can test speed drive , if it's KVM try hdparm -Tt /dev/sda

Also you can test Internet speed, use wget and some large file.

and use this script https://github.com/mgutz/vpsbench
 

Dewlance

Well-known member
Joined
Dec 20, 2014
Messages
102
Best answers
0
Ratings
19 1
Points
18
#17
As suggested by many members, I also use speedtest-cli which is a python script, After downloading script to your server. Run script using python command like "py speedtest-cli" or "python speedtest-cli"

For disk test, You can use "dd" command which is so easy to run.
 

Dewlance

Well-known member
Joined
Dec 20, 2014
Messages
102
Best answers
0
Ratings
19 1
Points
18
#19

Gmeister4

Well-known member
Joined
Apr 19, 2016
Messages
150
Best answers
0
Ratings
10
Points
18
#27
Gmeister4
Thanks @Dewlance

I tried to test on a new small VPS that I just bought yesterday and it worked when running the command python speedtest-cli
py speedtest-cli
command didn't work

Here's the result

Code:
[[email protected] ~]# wget -O speedtest-cli https://raw.githubusercontent.com/sive                                       l/speedtest-cli/master/speedtest.py
--2018-04-21 16:52:33--  https://raw.githubusercontent.com/sivel/speedtest-cli/m                                       aster/speedtest.py
Resolving raw.githubusercontent.com... 151.101.28.133
Connecting to raw.githubusercontent.com|151.101.28.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 59555 (58K) [text/plain]
Saving to: “speedtest-cli”

100%[======================================>] 59,555      --.-K/s   in 0.001s

2018-04-21 16:52:33 (96.2 MB/s) - “speedtest-cli” saved [59555/59555]

[[email protected] ~]# chmod +x speedtest-cli
[[email protected] ~]#
[[email protected] ~]# py speedtest-cli
-bash: py: command not found
[[email protected] ~]# python speedtest-cli
Retrieving speedtest.net configuration...
Testing from MY Hosting (MY_IP_Address)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Telstra (Sydney) [1.20 km]: 1.183 ms
Testing download speed..........................................................                                       ......................
Download: 97.61 Mbit/s
Testing upload speed............................................................                                       ....................................
Upload: 98.08 Mbit/s
 

David Beroff

Well-known member
Joined
Jun 14, 2016
Messages
981
Best answers
0
Ratings
86 1
Points
28
#20
Command: 2 commands

Then run "py speedtest-cli" or maybe "python speedtest-cli" (Without quota) and wait for few minute, It will show result.
It works with the second command

[[email protected] ~]# python speedtest-cli
Retrieving speedtest.net configuration...
Testing from ............
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by cronomagic (Montreal, QC) [0.63 km]: 2.648 ms
Testing download speed................................................................................
Download: 99.37 Mbit/s
Testing upload speed................................................................................................
Upload: 100.51 Mbit/s
It is a good way to check vps speed.

Thank you :)
 
Joined
Dec 8, 2016
Messages
57
Best answers
0
Points
6
#21
Yes, server location do matter. IF the location is far from your targeted audience . They website may load slow on their location. You can have a CDN service to have your static content delivered from a CDN service.
 

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top