Attached to this post is my modded version of 1.0.6, from:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/sivel/speedtest-cli"
linktext was:"https://github.com/sivel/speedtest-cli"
====================================
Code: Select all
speedtest-cli
Command line interface for testing internet bandwidth using speedtest.net
version "1.0.6ski"
DESCRIPTION
Speedtest.net is a web service for testing your broadband connection by downloading a file from a
nearby speedtest.net server on the web. This tool allows you to access the service from the command line.
Speedtest mini is a version of the Speedtest.net server that you can host locally.
=======================
regarding potential inconsistency:
It is not a goal of this application to be a reliable latency reporting tool.
Latency reported by this tool should not be relied on as a value indicative of ICMP style latency.
It is a relative value used for determining the lowest-latency server for performing the actual speed test against.
There is the potential for this tool to report results inconsistent with Speedtest.net.
There are several concepts to be aware of that factor into the potential inconsistency:
1. Speedtest.net has migrated to using pure socket tests instead of HTTP based tests.
2. This application is written in Python.
3. Different versions of Python will execute certain parts of the code faster than others.
4. CPU and Memory capacity and speed will play a large part in inconsistency between
Speedtest.net and even other machines on the same network
========================
OPTIONS
Usage: speedtest\-cli [OPTION...]
-h, --help
Displays usage for the tool
--bytes
Display values in bytes instead of bits.
--csv
Suppress verbose output, only show basic information in CSV format.
Speeds are listed in bits/sec and are not affected by --bytes
--csv-delimiter CSV_DELIMITER
Single character delimiter to use in CSV output. Default","
--csv-header
Print CSV headers
--debug
howdy needa description?
--json
Suppress verbose output, only show basic information in JSON format.
Speeds are listed in bits/sec and are not affected by --bytes
--list
Display a list of speedtest.net servers sorted by distance
--mini MINI
URL of the Speedtest Mini server
--no-pre-allocate
Do not pre allocate upload data.
Pre allocation is enabled by default to improve upload performance.
To support systems with insufficient memory,
use this option to avoid a MemoryError
--numiter
Number of iterations to run
--secure
Use HTTPS instead of HTTP when communicating with speedtest.net operated servers
--server SERVER
Specify a server ID (or city name) to test against
--simple
Suppress verbose output, only show basic information
--source SOURCE
Source IP address to bind to
--timeout TIMEOUT
HTTP timeout in seconds. Default 10
--version
Show the version number and exit
### EXAMPLES
###
### Automatically find closest server and start testing (no args)
### speedtest-cli
###
### Specify testing against server 1491
### speedtest-cli --server 1491
###
### Testing against Speedtest Mini
### speedtest-cli --mini 172.18.66.1
demo@antix1:~
$ time /usr/local/bin/speedtest-cli.py
Retrieving speedtest.net configuration...
Testing from Moonshine Cable Co (94.131.128.164)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Moonshine Cable Co (Hootersville, KY) [49.75 km]: 20.8 ms
Testing download speed...................................
Download: 90.31 Mbit/s
Testing upload speed.................................
Upload: 12.23 Mbit/s
real 0m23.057s
user 0m4.165s
sys 0m1.399s