Saturday 3 May 2014

Test Internet Connection Speed with Command Line in LINUX



“ 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 your 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 (192.xxx.xxx.xx)… <========== Your Publice IP

Selecting best server based on ping…

Hosted by your ISP [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 …..

No comments:

Post a Comment