Command line interface for testing internet bandwidth using speedtest.net
- Code: Select all
# ./speedtest_cli.py
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from MyProvider Net N/A. (10.10.10.10)...
Selecting best server based on latency...
Hosted by Burstfire Networks Ltd (London) [0.89 km]: 9.689 ms
Testing download speed........................................
Download: 641.44 Mbit/s
Testing upload speed..................................................
Upload: 318.96 Mbit/s
# ./speedtest_cli.py -h
usage: speedtest_cli.py [-h] [--bytes] [--share] [--simple] [--list]
[--server SERVER] [--mini MINI] [--source SOURCE]
[--timeout TIMEOUT] [--secure] [--version]
Command line ...