Files
tldr/pages.zh/common/speedtest-cli.md

37 lines
862 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# speedtest-cli
> 使用 <https://speedtest.net> 测试互联网带宽。
> 另请参阅:`speedtest` 的官方命令行工具。
> 更多信息:<https://github.com/sivel/speedtest-cli>。
- 运行速度测试:
`speedtest-cli`
- 运行速度测试并以字节为单位显示值,而不是位:
`speedtest-cli --bytes`
- 使用 `HTTPS` 运行速度测试,而不是 `HTTP`
`speedtest-cli --secure`
- 运行速度测试而不进行下载测试:
`speedtest-cli --no-download`
- 运行速度测试并生成结果的图像:
`speedtest-cli --share`
- 列出所有 `speedtest.net` 服务器,按距离排序:
`speedtest-cli --list`
- 针对特定的 speedtest.net 服务器运行速度测试:
`speedtest-cli --server {{server_id}}`
- 运行速度测试并以 JSON 格式显示结果(抑制进度信息):
`speedtest-cli --json`