speedtest-cli
Command line interface for testing internet bandwidth using speedtest.net
1.
root@slitaz:/home/tux# date
Fri Nov 15 09:41:17 CST 2013
2.
root@slitaz:/home/tux# wget --no-check-certificate https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
--2013-11-15 09:39:51-- https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
Resolving raw.github.com (raw.github.com)... 103.245.222.133
Connecting to raw.github.com (raw.github.com)|103.245.222.133|:443... connected.
WARNING: cannot verify raw.github.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 16485 (16K) [text/plain]
Saving to: `speedtest_cli.py'
100%[======================================>] 16,485 --.-K/s in 0.07s
2013-11-15 09:39:52 (226 KB/s) - `speedtest_cli.py' saved [16485/16485]
3.
root@slitaz:/home/tux# chmod 755 speedtest_cli.py
4.
root@slitaz:/home/tux# ./speedtest_cli.py
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from CHTD, Chunghwa Telecom Co., Ltd. (1.165.xx.xx)...
Selecting best server based on ping...
Hosted by Far EasTone Telecommunications Co., Ltd (Taoyuan) [30.61 km]: 12.398 ms
Testing download speed........................................
Download: 29.64 Mbit/s
Testing upload speed..................................................
Upload: 2.98 Mbit/s
root@slitaz:/home/tux#
root@slitaz:/home/tux# ./speedtest_cli.py
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from CHTD, Chunghwa Telecom Co., Ltd. (61.224.xx.xx)...
Selecting best server based on ping...
Hosted by Taiwan Fixed Network (Taichung) [1.67 km]: 14.067 ms
Testing download speed........................................
Download: 39.70 Mbit/s
Testing upload speed..................................................
Upload: 2.90 Mbit/s
root@slitaz:/home/tux#