Hello Friends,
Hope you all are having fun in your life 🙂
Today I am going to share with you a small trick to test your internet speed with command linux on Linux Servers.
“ Most of the time We don’t have Graphical User Interface(GUI) on Our Servers. In this case how can we test internet Speed in Our Server ?”
So for that there is a very helpful command called speedtest_cli.py
Lets Move on Installation part :-
I am on my Centos 6.5 (64Bit) Server:-
[root@test ~]# cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m
Download Speedtes_cli.py:-
root@test ~]# wget https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
Move this on you command shell:-
[root@test ~]# mv speedtest_cli.py /usr/local/bin/
Give the Execute adn Owen permissions:-
[root@test ~]# chmod +x /usr/local/bin/speedtest_cli.py
[root@test ~]# chown root:root /usr/local/bin/speedtest_cli.py
Now Test Your Speed :— 🙂
[root@test ~]# speedtest_cli.py
Retrieving speedtest.net configuration…
Retrieving speedtest.net server list…
Testing from Airtel Broadband (122.xxx.xxx.xx)… <========== Your Publice IP
Selecting best server based on ping…
Hosted by MTS india (New Delhi) [3.13 km]: 16.371 ms
Testing download speed………………………………….
Download: 15.15 Mbit/s <======= your Downloading Speed
Testing upload speed…………………………………………..
Upload: 2.52 Mbit/s <============ Your Uploading Speed.
It given us all Information about our Internet speed, IP, Downloading and Uploading speed etc …..
Thanks for visiting 🙂
Enjoy Linux-Ing 🙂 🙂 🙂
Shahil(Shakil)
http://sahillinux.wordpress.com/
