1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 00:42:08 +02:00

speedtest, speedtest-cli: refresh (#5781)

* speedtest: refresh

* update pages

* Remove additional whitespace

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* speedtest-cli: add --json example

* Apply suggestions from code review

Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>

* Apply suggestion from code review

Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
This commit is contained in:
marchersimon 2021-05-10 11:04:20 +02:00 committed by GitHub
parent 10728f1ab4
commit abfc6f29df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 50 additions and 32 deletions

View file

@ -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: <https://github.com/sivel/speedtest-cli>.
- 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`

33
pages/common/speedtest.md Normal file
View file

@ -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: <https://www.speedtest.net/apps/cli>.
- 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}}`

View file

@ -1,20 +0,0 @@
# speedtest
> Test internet bandwidth using https://www.speedtest.net.
> More information: <https://www.speedtest.net/apps/cli>.
- 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`