diff --git a/pages/common/speedtest-cli.md b/pages/common/speedtest-cli.md index 9d61573fc0..25b37bb4b2 100644 --- a/pages/common/speedtest-cli.md +++ b/pages/common/speedtest-cli.md @@ -1,32 +1,37 @@ # speedtest-cli -> Command line interface for testing internet bandwidth using https://speedtest.net. +> Unofficial command line interface for testing internet bandwidth using https://speedtest.net. +> See also `speedtest` for the official CLI. > More information: . - Run a speed test: `speedtest-cli` +- Run a speed test and display values in bytes, instead of bits: + +`speedtest-cli --bytes` + +- Run a speed test using `HTTPS`, instead of `HTTP`: + +`speedtest-cli --secure` + - Run a speed test without performing download tests: `speedtest-cli --no-download` -- Run a speed test and generate an image of the results (useful for sharing): +- Run a speed test and generate an image of the results: `speedtest-cli --share` -- Run a speed test to the given speedtest.net server id: +- List all `speedtest.net` servers, sorted by distance: + +`speedtest-cli --list` + +- Run a speed test to a specific speedtest.net server: `speedtest-cli --server {{server_id}}` -- Save a list of all speedtest.net servers, sorted by distance: - -`speedtest-cli --list > {{speedtest_servers.txt}}` - -- Display results as CSV (suppressing progress information): - -`speedtest-cli --csv --csv-delimiter {{delimiter_char}}` - -- Display results as JSON (suppressing progress information): +- Run a speed test and display the results as JSON (suppresses progress information): `speedtest-cli --json` diff --git a/pages/common/speedtest.md b/pages/common/speedtest.md new file mode 100644 index 0000000000..bab03f9b43 --- /dev/null +++ b/pages/common/speedtest.md @@ -0,0 +1,33 @@ +# speedtest + +> Official command line interface for testing internet bandwidth using https://speedtest.net. +> Note: some platforms link `speedtest` to `speedtest-cli`. If some of the examples in this page don't work, see `speedtest-cli`. +> More information: . + +- Run a speed test: + +`speedtest` + +- Run a speed test and specify the unit of the output: + +`speedtest --unit={{auto-decimal-bits|auto-decimal-bytes|auto-binary-bits|auto-binary-bytes}}` + +- Run a speed test and specify the output format: + +`speedtest --format={{human-readable|csv|tsv|json|jsonl|json-pretty}}` + +- Run a speed test and specify the number of decimal points to use (0 to 8, defaults to 2): + +`speedtest --precision={{precision}}` + +- Run a speed test and print it's progress (only available for output format `human-readable` and `json`): + +`speedtest --progress={{yes|no}}` + +- List all `speedtest.net` servers, sorted by distance: + +`speedtest --servers` + +- Run a speed test to a specific `speedtest.net` server: + +`speedtest --server-id={{server_id}}` diff --git a/pages/linux/speedtest.md b/pages/linux/speedtest.md deleted file mode 100644 index 15184013b7..0000000000 --- a/pages/linux/speedtest.md +++ /dev/null @@ -1,20 +0,0 @@ -# speedtest - -> Test internet bandwidth using https://www.speedtest.net. -> More information: . - -- Run a basic speedtest: - -`speedtest` - -- Display values in bytes instead of bits: - -`speedtest --bytes` - -- Use HTTPS instead of HTTP: - -`speedtest --secure` - -- List servers sorted by distance: - -`speedtest --list`