1

How can I get the speed of my internet connection from the terminal? Is there any script or commandline application(s) available?

I'm using CentOS 6.5 .

slm
  • 363,520
  • 117
  • 767
  • 871
Raja G
  • 5,749
  • 12
  • 44
  • 67
  • Please take a look at my answer to that duplicate, I cover 4 excellent tools for looking at network bandwidth there. – slm Jan 02 '14 at 22:31
  • there's a complete discussion about it : [How to check Internet Speed via Terminal?](http://askubuntu.com/questions/104755/how-to-check-internet-speed-via-terminal) – Slyx Jan 02 '14 at 23:13

1 Answers1

4

you can do it, open your terminal and type as

  wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
     chmod +x speedtest-cli
    ./speedtest-cli

For example:

[raja@localhost ~]$     ./speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from BSNL (XXX.XXX.XXX.XXX)...
Selecting best server based on ping...
Hosted by BEAM TELECOM (Hyderabad) [19.00 km]: 39.975 ms
Testing download speed........................................
Download: 1.16 Mbit/s
Testing upload speed..................................................
Upload: 0.38 Mbit/s
[raja@localhost ~]$

Thanks to LinOxide.

Raja G
  • 5,749
  • 12
  • 44
  • 67