arrow_upward

Pages (3):
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to test your VPS Internet speed
#1
Hello Folks, today I'm going to explain how to test your VPS Internet speed.
Firstly we need to update and upgrade our VPS so you have to execute this command

For Ubuntu / Debian

sudo apt-get -y update


For CentOS
sudo yum -y update


Then upgrade it [For Ubuntu / Debian]

sudo apt-get upgrade

For CentOS

sudo yum upgrade


Now you will have to install Python so we will follow this command

Ubuntu / Debian

sudo apt-get install python

CentOS
sudo yum install python

After installing Python we will have to get the .py file which we are going to test our VPS speed from it so you have to execute this command

wget https://raw.githubusercontent.com/systemroot/raws-dev/master/usr/local/raws/ubuntu/st.py

Then we have to grant it the permission to work currently so you have to execute this command
chmod +x st.py

The last step now is start to test the VPS speed so you have to execute this command
./st.py --secure --share

And wait for about 25 second to finishes the test....

and finally the result will be like that

root@amirgt:~# ./st.py --secure --share
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from OVH (xxx.xx.xx.xxx)...
Selecting best server based on latency...
Hosted by Orange (Paris) [1.88 km]: 5.539 ms
Testing download speed........................................
Download: 717.03 Mbit/s
Testing upload speed..................................................
Upload: 140.27 Mbit/s
Share results: https://www.speedtest.net/result/6615237958.png

[Image: 6615237958.png]

I saw the same tutorial here but I think this is more better because of this script has more options you can see it by executing this command
./st.py --help

So that was our tutorial for today, I hope you liked it. Goodbye. Blush
#2
Nice tutorial, keep it up.
But as i think that most of vps servers have python already installed.
As my vps already have python latest version :3
#3
(09-11-2017, 06:01 PM)youssefbasha Wrote: Nice tutorial, keep it up.
But as i think that most of vps servers have python already installed.
As my vps already have python latest version :3

You might have installed it because of you are using something requires Python, Btw I explained how to install it for people who don't know. Also thank you for your positive reply. Heart
#4
Nice! BTW guys if you have python 3.x installed, be sure to use python3 in the command instead
#5
(09-11-2017, 07:04 PM)YOuNeS_Dz Wrote: Wow
nice tutorial Amir.. it's too good :o keep your works/Tutorial up Smile

Thank you very much YOuNeS Big Grin I hope you liked it Big Grin

(09-11-2017, 09:34 PM)akfluffy Wrote: Nice! BTW guys if you have python 3.x installed, be sure to use python3 in the command instead

Thank you for additional Big Grin but can you write the full command for people who don't know?
#6
The full command should be: (If you're using python 3)

python3 st.py --secure --share
#7
Aha, OK then but what is the difference between Python and Python3?
#8
that is a long way to do it . i have a better way to do it y. you can use freevps us bench sh . here is the command to get the bench sh
wget https://freevps.us/downloads/bench.sh
chmod +x bench.sh
./bench.sh
you dont need to install any python and any package . and i prefer the freevps bench over the speedtest cli
Terminal
humanpuff69@FPAX:~$ Thanks To Shadow Hosting And Post4VPS for VPS 5
#9
(09-12-2017, 09:21 AM)humanpuff69 Wrote: that is a long way to do it . i have a better way to do it y. you can use freevps us bench sh . here is the command to get the bench sh
wget https://freevps.us/downloads/bench.sh
chmod +x bench.sh
./bench.sh
you dont need to install any python and any package . and i prefer the freevps bench over the speedtest cli

It tests the speed by specific servers but the script I gave above tests the speed by the closest server to you, also this script tests the benchmark of the VPS and one of it is testing the speed. Also the best thing to test the Internet speed is iperf3 because of speedtest servers only gives max 2Gbps speed so if you have like 3Gbps server or 10Gbps or whatever it will only show 1.9Gbps or something close but it will not exceed the 2Gbps.
#10
(09-11-2017, 04:47 PM)AmirGT Wrote: Hello Folks, today I'm going to explain how to test your VPS Internet speed.
Firstly we need to update and upgrade our VPS so you have to execute this command

For Ubuntu / Debian

sudo apt-get -y update


For CentOS
sudo yum -y update


Then upgrade it [For Ubuntu / Debian]

sudo apt-get upgrade

For CentOS

sudo yum upgrade


Now you will have to install Python so we will follow this command

Ubuntu / Debian

sudo apt-get install python

CentOS
sudo yum install python

After installing Python we will have to get the .py file which we are going to test our VPS speed from it so you have to execute this command

wget https://raw.githubusercontent.com/systemroot/raws-dev/master/usr/local/raws/ubuntu/st.py

Then we have to grant it the permission to work currently so you have to execute this command
chmod +x st.py

The last step now is start to test the VPS speed so you have to execute this command
./st.py --secure --share

And wait for about 25 second to finishes the test....

and finally the result will be like that

root@amirgt:~# ./st.py --secure --share
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from OVH (xxx.xx.xx.xxx)...
Selecting best server based on latency...
Hosted by Orange (Paris) [1.88 km]: 5.539 ms
Testing download speed........................................
Download: 717.03 Mbit/s
Testing upload speed..................................................
Upload: 140.27 Mbit/s
Share results: https://www.speedtest.net/result/6615237958.png

[Image: 6615237958.png]

I saw the same tutorial here but I think this is more better because of this script has more options you can see it by executing this command
./st.py --help

So that was our tutorial for today, I hope you liked it. Goodbye. Blush

Get error while making .py file with this command
wget https://raw.githubusercontent.com/systemroot/raws-dev/master/usr/local/raws/ubuntu/st.py
ERROR: The certificate of 'raw.githubusercontent.com' is not trusted.

ERROR: The certificate of 'raw.githubusercontent.com' hasn't got a known issuer.

Any fix??
Heart LOVE FOR ALL  HATRED FOR NONE Heart
Pages (3):


Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
2,346
02-03-2017, 12:41 PM
Last Post: Hero^

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting