speedtest

ネットワーク

書き方

speedtest [-s <server-id>]

近くのサーバーと実際にやり取りして回線の速さを測ります。どの系にも既定では入っておらず、同じ名前の別物が二つ(Ookla の speedtest と Python の speedtest-cli)あってオプションが違います。

よく使うオプション

オプション意味
-LList nearby servers with their IDs (Ookla's speedtest).
-s <id>Test against one specific server instead of the automatic pick.
-f jsonMachine-readable output, for logging over time.
--accept-licenseNeeded once, non-interactively, on the Ookla client.
--simple / --jsonThe equivalents in the older Python speedtest-cli.

speedtest

Throughput and latency to the nearest server.

speedtest -f json

The same numbers in a form you can store.

speedtest-cli --simple

The Python client, which takes different flags entirely.

つながらないとき、どこまで行けたのかを絞ります — 名前が引けないのか、経路がないのか、ポートが閉じているのか。

読み方

  • 角括弧 [ ] は省いてよい部分です。
  • 三点 … は複数並べられるという意味です。
  • オプションは大文字小文字を区別します — -r と -R が別物のコマンドもあります。

よくある質問

Q. speedtest は何をしますか。

近くのサーバーと実際にやり取りして回線の速さを測ります。どの系にも既定では入っておらず、同じ名前の別物が二つ(Ookla の speedtest と Python の speedtest-cli)あってオプションが違います。

Q. どう打ちますか。

speedtest [-s <server-id>] — 角括弧は省いてよい部分です。

Q. よく使うオプションはいくつですか。

ここにまとめたのは5個です。全部は man speedtest にあります。このコマンドはネットワークの仲間です。

関連するコマンド

man ページ: man speedtest