{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/speedtest/feed/json/ -- and add it your reader.", "home_page_url": "https://matoken.org/blog/tag/speedtest/", "feed_url": "https://matoken.org/blog/tag/speedtest/feed/json/", "language": "ja", "title": "speedtest – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "https://matoken.org/blog/?p=5121", "url": "https://matoken.org/blog/2025/12/31/cloudflare-speed-test-with-tui/", "title": "Cloudflare\u306e\u901f\u5ea6\u30c6\u30b9\u30c8\u3092TUI\u3067", "content_html": "
\n
\n

\n
\n

Cloudflare \u306e\u901f\u5ea6\u8a08\u6e2c\u30b5\u30a4\u30c8\u306espeed.cloudflare.com \u3092TUI \u3067\u8a08\u6e2c\u3067\u304d\u308bcloudflare-speed-cli \u3068\u3044\u3046\u3082\u306e\u3092\u77e5\u3063\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\ncloudflare-speed-cli \u306fRust \u88fd\u3067GPL-3.0 license \u3067\u3059\uff0e

\n
\n\n
\n

\u985e\u4f3c\u306e\u3082\u306e\u3067\uff0cspeedtest.net \u3092\u8a08\u6e2c\u3067\u304d\u308bspeedtest-cli \u3092\u3088\u304f\u4f7f\u3063\u3066\u3044\u307e\u3059\u304c\uff0cCloudflare \u3082\u4f7f\u3048\u308b\u3068\u4fbf\u5229\u305d\u3046\u3067\u3059\uff0e

\n
\n

\n
\n

cloudflare-speed-cli \u306fGitHub Releases \u306b\u306fLinux x86_64, aarch64, macOS aarch64, x86_64, Windows x86_64 \u306e\u30d0\u30a4\u30ca\u30ea\u304c\u3042\u308a\u307e\u3059\uff0e\u3057\u304b\u3057\u4f8b\u306b\u3088\u3063\u3066Raspberry Pi bookworm armhf(Arm 32bit)\u3067\u3082\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e

\n
\n
\n

Rust \u95a2\u9023\u306fasciimena 3.0 \u3092build \u3057\u305f\u3068\u304d\u306b\u5165\u308c\u305f\u3082\u306e\u304b\u3089rustup \u30671.92.0 \u306b\u3057\u305f\u3082\u306e\u3092\u4f7f\u3044\u307e\u3059\uff0e

\n
\n\n
\n

cargo install \u3067\u6642\u9593\u304c\u639b\u304b\u308a\u307e\u3059\u304c\u7279\u306b\u3064\u307e\u3065\u3044\u305f\u308a\u305b\u305abuild \u3067\u304d\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ cargo --version\nwarning: `/home/matoken/.cargo/config` is deprecated in favor of `config.toml`\n  |\n  = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`\ncargo 1.92.0 (344c4567c 2025-10-21)\n$ cargo install --git https://github.com/kavehtehrani/cloudflare-speed-cli --features tui\n$ cloudflare-speed-cli --help\nCloudflare-based speed test with optional TUI\n\nUsage: cloudflare-speed-cli [OPTIONS]\n\nOptions:\n      --base-url <BASE_URL>\n          Base URL for the Cloudflare speed test service [default: https://speed.cloudflare.com]\n      --json\n          Print JSON result and exit (no TUI)\n      --text\n          Print text summary and exit (no TUI)\n      --download-duration <DOWNLOAD_DURATION>\n          Download phase duration [default: 10s]\n      --upload-duration <UPLOAD_DURATION>\n          Upload phase duration [default: 10s]\n      --idle-latency-duration <IDLE_LATENCY_DURATION>\n          Idle latency probe duration (pre-test) [default: 2s]\n      --concurrency <CONCURRENCY>\n          Concurrency for download/upload workers [default: 6]\n      --download-bytes-per-req <DOWNLOAD_BYTES_PER_REQ>\n          Bytes per download request [default: 10000000]\n      --upload-bytes-per-req <UPLOAD_BYTES_PER_REQ>\n          Bytes per upload request [default: 5000000]\n      --probe-interval-ms <PROBE_INTERVAL_MS>\n          Probe interval in milliseconds [default: 250]\n      --probe-timeout-ms <PROBE_TIMEOUT_MS>\n          Probe timeout in milliseconds [default: 800]\n      --experimental\n          Enable experimental features (TURN fetch + UDP-like loss probe)\n      --export-json <EXPORT_JSON>\n          Export results as JSON\n      --export-csv <EXPORT_CSV>\n          Export results as CSV\n      --auto-save <AUTO_SAVE>\n          Use --auto-save true or --auto-save false to override (default: true) [default: true] [possible values: true, false]\n      --interface <INTERFACE>\n          Bind to a specific network interface (e.g., ens18, eth0)\n      --source <SOURCE>\n          Bind to a specific source IP address (e.g., 192.168.10.0)\n      --certificate <CERTIFICATE>\n          Path to a custom TLS certificate file (PEM or DER format)\n  -h, --help\n          Print help\n  -V, --version\n          Print version\n$ cloudflare-speed-cli --version\ncloudflare-speed-cli 0.3.1
\n
\n
\n
\n

\u65e9\u901f\u8a66\u3057\u3066\u307f\u307e\u3059\uff0ecloudflare-speed-cli \u3092\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u3057\u3067\u5b9f\u884c\u3059\u308b\u3068TUI \u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\uff0e\u8d77\u52d5\u3057\u3066\u3059\u3050\u306b\u8a08\u6e2c\u304c\u59cb\u307e\u308a\uff0c\u65e2\u5b9a\u5024\u3067\u306f\u8a08\u6e2c\u7d50\u679c\u304c\u4fdd\u5b58\u3055\u308c\u307e\u3059\uff0etab key \u3067History \u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u3068\u904e\u53bb\u306e\u8a08\u6e2c\u7d50\u679c\u3092\u95b2\u89a7\u3057\u305f\u308a\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u305f\u308a\u3067\u304d\u307e\u3059\uff0e

\n
\n
\n

\"cloudflare

\n
\n

\n
\n

--text \u30aa\u30d7\u30b7\u30e7\u30f3\u3067cli \u30e2\u30fc\u30c9\u3067\u3059\u304c\uff0c\u30d7\u30ed\u30b0\u30ec\u30b9\u304c\u5927\u91cf\u306b\u51fa\u3066\u3061\u3087\u3063\u3068\u4f7f\u3044\u3065\u3089\u3044\u611f\u3058\u3067\u3059\uff0e

\n
\n

\n
\n

\u30d7\u30ed\u30b9\u30ec\u30b9\u90e8\u5206\u306fSTDERR \u306a\u306e\u3067\u305d\u308c\u3092\u6368\u3066\u3066\u3057\u307e\u3063\u3066\u3082\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093

\n
\n
\n
\n
$ cloudflare-speed-cli --text 2>/dev/null\nIP/Colo/ASN: 133.106.160.49 / NRT / 138384 (-)\nDownload: 23.73 Mbps\nUpload:   2.47 Mbps\nIdle latency p50/p90/p99: 98.9/110.7/110.7 ms (loss 0.0%, jitter 10.2 ms)\nLoaded latency (download) p50/p90/p99: 438.0/578.6/755.2 ms (loss 0.0%, jitter 130.1 ms)\nLoaded latency (upload) p50/p90/p99: 654.8/794.1/794.1 ms (loss 45.5%, jitter 144.4 ms)
\n
\n
\n
\n

\u3053\u3093\u306a\u611f\u3058\u3067\u5b9a\u671f\u7684\u306b\u8a08\u6e2c\u3059\u308b\u306e\u306b\u3082\u4fbf\u5229\u304b\u3082\u3068\u601d\u3044\u307e\u3057\u305f\u304c\uff0ccli \u30e2\u30fc\u30c9\u3067\u306f\u65e2\u5b9a\u5024\u3067\u306f\u7d50\u679c\u3092\u4fdd\u5b58\u3057\u306a\u3044\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n
\n
$ watch -n 3600 -- cloudflare-speed-cli --text
\n
\n
\n
\n

--auto-save true \u3082\u8ffd\u52a0\u3059\u308b\u3068\u7d50\u679c\u304c\u4fdd\u5b58\u3055\u308c\u307e\u3059\uff0e

\n
\n
\n
\n
$ watch -n 3600 -- cloudflare-speed-cli --text --auto-save true
\n
\n
\n
\n

\u305f\u3060\uff0c\u4ee5\u4e0b\u306e\u3088\u3046\u306bTUI \u30e2\u30fc\u30c9\u306e\u8a08\u6e2c\u6642\u306e\u30ed\u30b0\u306b\u306f --interface \u3092\u6307\u5b9a\u3057\u3066\u3082Interface \u3084AP \u540d\u306f\u4fdd\u5b58\u3055\u308c\u306a\u3044\u3088\u3046\u3067\u3059\uff0e

\n
\n
\n
\n
\u2502 3.   2025-12-31 06:30:11 +09:00  DL   20.69 Mbps  UL    4.66 Mbps  Idle p50  103.7 ms  -  (1)\n\u2502 4.   2025-12-31 06:08:33 +09:00  DL   21.73 Mbps  UL    3.16 Mbps  Idle p50  100.7 ms  wlan0  TP-L13💻 (2)
\n
\n
\n
\n
    \n
  1. \n

    --text \u3067cli \u30e2\u30fc\u30c9\u3067\u5b9f\u884c\u3057\u305f\u3068\u304d\u306e\u7d50\u679c

    \n
  2. \n
  3. \n

    TUI \u30e2\u30fc\u30c9\u3067\u5b9f\u884c\u3057\u305f\u3068\u304d\u306e\u7d50\u679c

    \n
  4. \n
\n
\n
\n
\n
\n

SEE ALSO

\n
\n
\n\n
\n
$ speedtest-cli\nRetrieving speedtest.net configuration...\nTesting from Rakuten Mobile Network (133.106.160.42)...\nRetrieving speedtest.net server list...\nSelecting best server based on ping...\nHosted by GSL Networks (Tokyo) [0.26 km]: 60.882 ms\nTesting download speed................................................................................\nDownload: 12.70 Mbit/s\nTesting upload speed......................................................................................................\nUpload: 2.69 Mbit/s
\n
\n
\n
\n
Speedtest CLI: Internet speed test for the command line \u203bOokla\u516c\u5f0f\u3060\u304c\u30d7\u30ed\u30d7\u30e9\u30a4\u30a8\u30bf\u30ea
\n
\n
$ speedtest\n\n   Speedtest by Ookla\n\n      Server: IPA CyberLab 400G - Tokyo (id: 48463)\n         ISP: Rakuten Mobile Network\nIdle Latency:    50.15 ms   (jitter: 1.41ms, low: 48.98ms, high: 52.36ms)\n    Download:    20.75 Mbps (data used: 19.9 MB)\n                262.40 ms   (jitter: 71.32ms, low: 72.73ms, high: 398.26ms)\n      Upload:     2.96 Mbps (data used: 1.6 MB)\n                779.27 ms   (jitter: 95.79ms, low: 75.05ms, high: 1148.99ms)\n Packet Loss:     0.0%\n  Result URL: https://www.speedtest.net/result/c/e1a349cf-53eb-4d63-b8f4-8550dabd772d
\n
\n
\n
\n
n8henrie/fastcli: Python3 speed test via Fast.com fast.com \u3092\u4f7f\u3044cli \u3067\u8a08\u6e2c\u2026\u20262025-12-27\u306barchived \u3055\u308c\u3066\u3044\u305f
\n
\n
$ python -m fastcli -v\nApproximate download speed: 17.48 Mbps
\n
\n
\n
\n
\n", "content_text": "Cloudflare \u306e\u901f\u5ea6\u8a08\u6e2c\u30b5\u30a4\u30c8\u306espeed.cloudflare.com \u3092TUI \u3067\u8a08\u6e2c\u3067\u304d\u308bcloudflare-speed-cli \u3068\u3044\u3046\u3082\u306e\u3092\u77e5\u3063\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\ncloudflare-speed-cli \u306fRust \u88fd\u3067GPL-3.0 license \u3067\u3059\uff0e\n\n\n\n\nkavehtehrani/cloudflare-speed-cli: CLI for internet speed test via cloudflare\n\n\n\nTUI app for internet speed test via Cloudflare’s endpoint : r/commandline\n\n\n\n\n\n\n\n\u985e\u4f3c\u306e\u3082\u306e\u3067\uff0cspeedtest.net \u3092\u8a08\u6e2c\u3067\u304d\u308bspeedtest-cli \u3092\u3088\u304f\u4f7f\u3063\u3066\u3044\u307e\u3059\u304c\uff0cCloudflare \u3082\u4f7f\u3048\u308b\u3068\u4fbf\u5229\u305d\u3046\u3067\u3059\uff0e\n\n\n\ncloudflare-speed-cli \u306fGitHub Releases \u306b\u306fLinux x86_64, aarch64, macOS aarch64, x86_64, Windows x86_64 \u306e\u30d0\u30a4\u30ca\u30ea\u304c\u3042\u308a\u307e\u3059\uff0e\u3057\u304b\u3057\u4f8b\u306b\u3088\u3063\u3066Raspberry Pi bookworm armhf(Arm 32bit)\u3067\u3082\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e\n\n\nRust \u95a2\u9023\u306fasciimena 3.0 \u3092build \u3057\u305f\u3068\u304d\u306b\u5165\u308c\u305f\u3082\u306e\u304b\u3089rustup \u30671.92.0 \u306b\u3057\u305f\u3082\u306e\u3092\u4f7f\u3044\u307e\u3059\uff0e\n\n\n\n\nasciinema 3.0\u3068Raspberry Pi armhf\u74b0\u5883\u3067\u306e\u30d3\u30eb\u30c9 \u2013 matoken’s blog\n\n\n\n\ncargo install \u3067\u6642\u9593\u304c\u639b\u304b\u308a\u307e\u3059\u304c\u7279\u306b\u3064\u307e\u3065\u3044\u305f\u308a\u305b\u305abuild \u3067\u304d\u307e\u3057\u305f\uff0e\n\n\n\n$ cargo --version\nwarning: `/home/matoken/.cargo/config` is deprecated in favor of `config.toml`\n |\n = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`\ncargo 1.92.0 (344c4567c 2025-10-21)\n$ cargo install --git https://github.com/kavehtehrani/cloudflare-speed-cli --features tui\n$ cloudflare-speed-cli --help\nCloudflare-based speed test with optional TUI\n\nUsage: cloudflare-speed-cli [OPTIONS]\n\nOptions:\n --base-url <BASE_URL>\n Base URL for the Cloudflare speed test service [default: https://speed.cloudflare.com]\n --json\n Print JSON result and exit (no TUI)\n --text\n Print text summary and exit (no TUI)\n --download-duration <DOWNLOAD_DURATION>\n Download phase duration [default: 10s]\n --upload-duration <UPLOAD_DURATION>\n Upload phase duration [default: 10s]\n --idle-latency-duration <IDLE_LATENCY_DURATION>\n Idle latency probe duration (pre-test) [default: 2s]\n --concurrency <CONCURRENCY>\n Concurrency for download/upload workers [default: 6]\n --download-bytes-per-req <DOWNLOAD_BYTES_PER_REQ>\n Bytes per download request [default: 10000000]\n --upload-bytes-per-req <UPLOAD_BYTES_PER_REQ>\n Bytes per upload request [default: 5000000]\n --probe-interval-ms <PROBE_INTERVAL_MS>\n Probe interval in milliseconds [default: 250]\n --probe-timeout-ms <PROBE_TIMEOUT_MS>\n Probe timeout in milliseconds [default: 800]\n --experimental\n Enable experimental features (TURN fetch + UDP-like loss probe)\n --export-json <EXPORT_JSON>\n Export results as JSON\n --export-csv <EXPORT_CSV>\n Export results as CSV\n --auto-save <AUTO_SAVE>\n Use --auto-save true or --auto-save false to override (default: true) [default: true] [possible values: true, false]\n --interface <INTERFACE>\n Bind to a specific network interface (e.g., ens18, eth0)\n --source <SOURCE>\n Bind to a specific source IP address (e.g., 192.168.10.0)\n --certificate <CERTIFICATE>\n Path to a custom TLS certificate file (PEM or DER format)\n -h, --help\n Print help\n -V, --version\n Print version\n$ cloudflare-speed-cli --version\ncloudflare-speed-cli 0.3.1\n\n\n\n\u65e9\u901f\u8a66\u3057\u3066\u307f\u307e\u3059\uff0ecloudflare-speed-cli \u3092\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u3057\u3067\u5b9f\u884c\u3059\u308b\u3068TUI \u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\uff0e\u8d77\u52d5\u3057\u3066\u3059\u3050\u306b\u8a08\u6e2c\u304c\u59cb\u307e\u308a\uff0c\u65e2\u5b9a\u5024\u3067\u306f\u8a08\u6e2c\u7d50\u679c\u304c\u4fdd\u5b58\u3055\u308c\u307e\u3059\uff0etab key \u3067History \u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u3068\u904e\u53bb\u306e\u8a08\u6e2c\u7d50\u679c\u3092\u95b2\u89a7\u3057\u305f\u308a\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u305f\u308a\u3067\u304d\u307e\u3059\uff0e\n\n\n\n\n\n\n--text \u30aa\u30d7\u30b7\u30e7\u30f3\u3067cli \u30e2\u30fc\u30c9\u3067\u3059\u304c\uff0c\u30d7\u30ed\u30b0\u30ec\u30b9\u304c\u5927\u91cf\u306b\u51fa\u3066\u3061\u3087\u3063\u3068\u4f7f\u3044\u3065\u3089\u3044\u611f\u3058\u3067\u3059\uff0e\n\n\n\n\u30d7\u30ed\u30b9\u30ec\u30b9\u90e8\u5206\u306fSTDERR \u306a\u306e\u3067\u305d\u308c\u3092\u6368\u3066\u3066\u3057\u307e\u3063\u3066\u3082\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\n\n\n\n$ cloudflare-speed-cli --text 2>/dev/null\nIP/Colo/ASN: 133.106.160.49 / NRT / 138384 (-)\nDownload: 23.73 Mbps\nUpload: 2.47 Mbps\nIdle latency p50/p90/p99: 98.9/110.7/110.7 ms (loss 0.0%, jitter 10.2 ms)\nLoaded latency (download) p50/p90/p99: 438.0/578.6/755.2 ms (loss 0.0%, jitter 130.1 ms)\nLoaded latency (upload) p50/p90/p99: 654.8/794.1/794.1 ms (loss 45.5%, jitter 144.4 ms)\n\n\n\n\u3053\u3093\u306a\u611f\u3058\u3067\u5b9a\u671f\u7684\u306b\u8a08\u6e2c\u3059\u308b\u306e\u306b\u3082\u4fbf\u5229\u304b\u3082\u3068\u601d\u3044\u307e\u3057\u305f\u304c\uff0ccli \u30e2\u30fc\u30c9\u3067\u306f\u65e2\u5b9a\u5024\u3067\u306f\u7d50\u679c\u3092\u4fdd\u5b58\u3057\u306a\u3044\u3088\u3046\u3067\u3059\uff0e\n\n\n\n$ watch -n 3600 -- cloudflare-speed-cli --text\n\n\n\n--auto-save true \u3082\u8ffd\u52a0\u3059\u308b\u3068\u7d50\u679c\u304c\u4fdd\u5b58\u3055\u308c\u307e\u3059\uff0e\n\n\n\n$ watch -n 3600 -- cloudflare-speed-cli --text --auto-save true\n\n\n\n\u305f\u3060\uff0c\u4ee5\u4e0b\u306e\u3088\u3046\u306bTUI \u30e2\u30fc\u30c9\u306e\u8a08\u6e2c\u6642\u306e\u30ed\u30b0\u306b\u306f --interface \u3092\u6307\u5b9a\u3057\u3066\u3082Interface \u3084AP \u540d\u306f\u4fdd\u5b58\u3055\u308c\u306a\u3044\u3088\u3046\u3067\u3059\uff0e\n\n\n\n\u2502 3. 2025-12-31 06:30:11 +09:00 DL 20.69 Mbps UL 4.66 Mbps Idle p50 103.7 ms - (1)\n\u2502 4. 2025-12-31 06:08:33 +09:00 DL 21.73 Mbps UL 3.16 Mbps Idle p50 100.7 ms wlan0 TP-L13💻 (2)\n\n\n\n\n\n--text \u3067cli \u30e2\u30fc\u30c9\u3067\u5b9f\u884c\u3057\u305f\u3068\u304d\u306e\u7d50\u679c\n\n\nTUI \u30e2\u30fc\u30c9\u3067\u5b9f\u884c\u3057\u305f\u3068\u304d\u306e\u7d50\u679c\n\n\n\n\n\n\nSEE ALSO\n\n\nsivel/speedtest-cli: Command line interface for testing internet bandwidth using speedtest.net speedtest.net \u3092\u4f7f\u3044cli \u3067\u8a08\u6e2c\n\n$ speedtest-cli\nRetrieving speedtest.net configuration...\nTesting from Rakuten Mobile Network (133.106.160.42)...\nRetrieving speedtest.net server list...\nSelecting best server based on ping...\nHosted by GSL Networks (Tokyo) [0.26 km]: 60.882 ms\nTesting download speed................................................................................\nDownload: 12.70 Mbit/s\nTesting upload speed......................................................................................................\nUpload: 2.69 Mbit/s\n\n\n\nSpeedtest CLI: Internet speed test for the command line \u203bOokla\u516c\u5f0f\u3060\u304c\u30d7\u30ed\u30d7\u30e9\u30a4\u30a8\u30bf\u30ea\n\n$ speedtest\n\n Speedtest by Ookla\n\n Server: IPA CyberLab 400G - Tokyo (id: 48463)\n ISP: Rakuten Mobile Network\nIdle Latency: 50.15 ms (jitter: 1.41ms, low: 48.98ms, high: 52.36ms)\n Download: 20.75 Mbps (data used: 19.9 MB)\n 262.40 ms (jitter: 71.32ms, low: 72.73ms, high: 398.26ms)\n Upload: 2.96 Mbps (data used: 1.6 MB)\n 779.27 ms (jitter: 95.79ms, low: 75.05ms, high: 1148.99ms)\n Packet Loss: 0.0%\n Result URL: https://www.speedtest.net/result/c/e1a349cf-53eb-4d63-b8f4-8550dabd772d\n\n\n\nn8henrie/fastcli: Python3 speed test via Fast.com fast.com \u3092\u4f7f\u3044cli \u3067\u8a08\u6e2c\u2026\u20262025-12-27\u306barchived \u3055\u308c\u3066\u3044\u305f\n\n$ python -m fastcli -v\nApproximate download speed: 17.48 Mbps", "date_published": "2025-12-31T07:45:08+09:00", "date_modified": "2025-12-31T07:45:10+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "Cloudflare", "Raspberry Pi OS", "speedtest", "TUI", "bookworm", "Debian", "Linux", "sid" ] }, { "id": "http://matoken.org/blog/?p=3287", "url": "https://matoken.org/blog/2021/07/06/trouble-with-speedtest-cli-not-working-with-crontab/", "title": "speedtest-cli \u304c crontab \u3067\u52d5\u4f5c\u3057\u306a\u304f\u3066\u56f0\u308b", "content_html": "
\n

\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u901f\u5ea6\u8a08\u6e2c\u30b5\u30a4\u30c8\u306eSpeedtest.net \u3068\u3044\u3046\u30b5\u30a4\u30c8\u304c\u3042\u308a\u307e\u3059\uff0e

\n
\n
\n\n
\n
\n

\u4e16\u754c\u4e2d\u306b\u3042\u308b\u30b5\u30fc\u30d0\u306e\u3046\u3061\u81ea\u5206\u306e\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u8fd1\u3044\u3067\u3042\u308d\u3046\u30b5\u30fc\u30d0\u3092\u9078\u3093\u3067\u901f\u5ea6\u8a08\u6e2c\u3092\u3057\u3066\u304f\u308c\u308b\u30b5\u30fc\u30d3\u30b9\u3067\u3059\uff0e

\n
\n

\n
\n

\u3053\u306e\u30b5\u30fc\u30d3\u30b9\u3092cli \u3067\u5b9f\u884c\u3067\u304d\u308bPython\u88fd speedtest-cli \u3068\u3044\u3046Apache 2.0\u30e9\u30a4\u30bb\u30f3\u30b9\u306e\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u306e\u30c4\u30fc\u30eb\u304c\u3042\u308a\u307e\u3059\uff0eDebian\u3060\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u3042\u308b\u306e\u3067\u5c0e\u5165\u3082\u7c21\u5358\u3067\u3059\uff0e

\n
\n
\n\n
\n
\n
\n
$ sudo apt install speedtest-cli\n$ speedtest-cli -h\nusage: speedtest-cli [-h] [--no-download] [--no-upload] [--single] [--bytes] [--share] [--simple] [--csv] [--csv-delimiter CSV_DELIMITER]\n                     [--csv-header] [--json] [--list] [--server SERVER] [--exclude EXCLUDE] [--mini MINI] [--source SOURCE] [--timeout TIMEOUT]\n                     [--secure] [--no-pre-allocate] [--version]\n\nCommand line interface for testing internet bandwidth using speedtest.net.\n-------------------------------------------------------------------------- https://github.com/sivel/speedtest-cli\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --no-download         Do not perform download test\n  --no-upload           Do not perform upload test\n  --single              Only use a single connection instead of multiple. This simulates a typical file transfer.\n  --bytes               Display values in bytes instead of bits. Does not affect the image generated by --share, nor output from --json or\n                        --csv\n  --share               Generate and provide a URL to the speedtest.net share results image, not displayed with --csv\n  --simple              Suppress verbose output, only show basic information\n  --csv                 Suppress verbose output, only show basic information in CSV format. Speeds listed in bit/s and not affected by --bytes\n  --csv-delimiter CSV_DELIMITER\n                        Single character delimiter to use in CSV output. Default \",\"\n  --csv-header          Print CSV headers\n  --json                Suppress verbose output, only show basic information in JSON format. Speeds listed in bit/s and not affected by --bytes\n  --list                Display a list of speedtest.net servers sorted by distance\n  --server SERVER       Specify a server ID to test against. Can be supplied multiple times\n  --exclude EXCLUDE     Exclude a server from selection. Can be supplied multiple times\n  --mini MINI           URL of the Speedtest Mini server\n  --source SOURCE       Source IP address to bind to\n  --timeout TIMEOUT     HTTP timeout in seconds. Default 10\n  --secure              Use HTTPS instead of HTTP when communicating with speedtest.net operated servers\n  --no-pre-allocate     Do not pre allocate upload data. Pre allocation is enabled by default to improve upload performance. To support systems\n                        with insufficient memory, use this option to avoid a MemoryError\n  --version             Show the version number and exit\nmatoken@t430s:/media/matoken/rootfs/home/matoken/Videos$
\n
\n
\n
\n

\u51fa\u529b\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\uff0ccsv\u3084json\u3067\u66f8\u304d\u51fa\u3059\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\uff0e

\n
\n
\n
\n
$ speedtest-cli (1)\nRetrieving speedtest.net configuration...\nTesting from freebit (203.0.113.0)...\nRetrieving speedtest.net server list...\nSelecting best server based on ping...\nHosted by OpenGW (Shizuoka) [64.23 km]: 82.301 ms\nTesting download speed................................................................................\nDownload: 1.51 Mbit/s\nTesting upload speed......................................................................................................\nUpload: 0.95 Mbit/s\n$ speedtest-cli --simple (2)\nPing: 68.211 ms\nDownload: 8.11 Mbit/s\nUpload: 0.84 Mbit/s\n$ speedtest-cli --list | grep -i japan | grep -Ei 'kagoshima|miyazaki|kumamoto|ooita|fukuoka|saga|hitoyoshi' (3)\n 8407) Allied Telesis Capital Corporation (Sagamihara, Japan) [175.03 km]\n35106) yoshis.jp (KDDI-NET) (Fukuoka, Japan) [687.23 km]\n38134) NousagiNetwork(@_0rze) (Fukuoka, Japan) [687.23 km]\n38947) Rikimoto (Fukuoka, Japan) [687.23 km]\n18709) extride inc (Hitoyoshi, Japan) [705.48 km]\n$ speedtest-cli --simple --server 18709 (4)\nPing: 122.31 ms\nDownload: 6.01 Mbit/s\nUpload: 0.81 Mbit/s\n$ speedtest-cli --csv-header (5)\nServer ID,Sponsor,Server Name,Timestamp,Distance,Ping,Download,Upload,Share,IP Address\n$ speedtest-cli --csv (6)\n42842,Mamireimu Net Work's,Nara,2021-06-23T09:15:44.814808Z,177.32698372902544,86.096,8215354.331324884,1350756.2707027544,,203.0.113.0\n$ speedtest-cli --json | jq . (7)\n{\n  \"download\": 7961762.454176666,\n  \"upload\": 1054738.8634894243,\n  \"ping\": 73.207,\n  \"server\": {\n    \"url\": \"http://speedtestooklaserverjapannagoyashizuoka.baobivawpvojawvianoipwqnpibvbqoubwuvbqasciboabowbcacacwcqcqx001.bar:8080/speedtest/upload.php\",\n    \"lat\": \"34.9756\",\n    \"lon\": \"138.3827\",\n    \"name\": \"Shizuoka\",\n    \"country\": \"Japan\",\n    \"cc\": \"JP\",\n    \"sponsor\": \"OpenGW\",\n    \"id\": \"42413\",\n    \"host\": \"speedtestooklaserverjapannagoyashizuoka.baobivawpvojawvianoipwqnpibvbqoubwuvbqasciboabowbcacacwcqcqx001.bar:8080\",\n    \"d\": 64.2282382602239,\n    \"latency\": 73.207\n  },\n  \"timestamp\": \"2021-06-23T09:19:28.880310Z\",\n  \"bytes_sent\": 1515520,\n  \"bytes_received\": 10101900,\n  \"share\": null,\n  \"client\": {\n    \"ip\": \"203.0.113.0\",\n    \"lat\": \"34.733\",\n    \"lon\": \"137.7439\",\n    \"isp\": \"freebit\",\n    \"isprating\": \"3.7\",\n    \"rating\": \"0\",\n    \"ispdlavg\": \"0\",\n    \"ispulavg\": \"0\",\n    \"loggedin\": \"0\",\n    \"country\": \"JP\"\n  }\n}
\n
\n
\n
\n
    \n
  1. \u65e2\u5b9a\u5024\u3067\u5b9f\u884c\u3059\u308b\u3068\u81ea\u5206\u306eip\u30a2\u30c9\u30ec\u30b9\u306egeoip\u3067\u8fd1\u3044\u30b5\u30fc\u30d0\u306bping\u3092\u6253\u3063\u3066\u8fd1\u305d\u3046\u306a\u30b5\u30fc\u30d0\u3092\u63a2\u3057\u3066\u901f\u5ea6\u30c6\u30b9\u30c8\u3059\u308b\uff0e(\u7269\u7406\u7684\u306b\u306f\u9e7f\u5150\u5cf6\u3060\u3051\u3069geoip\u3067\u306f\u9759\u5ca1\u6271\u3044\u306a\u306e\u3067\u305d\u306e\u5468\u308a\u304c\u4f7f\u308f\u308c\u308b)
  2. \n
  3. \u30b7\u30f3\u30d7\u30eb\u306a\u8868\u793a
  4. \n
  5. \u7269\u7406\u7684\u306b\u8fd1\u305d\u3046\u306a\u4e5d\u5dde\u5185\u306e\u30b5\u30fc\u30d0\u3092\u63a2\u3059
  6. \n
  7. \u7269\u7406\u7684\u306b\u4e00\u756a\u8fd1\u3044\u30b5\u30fc\u30d0\u3092\u6307\u5b9a
  8. \n
  9. csv\u30d8\u30c3\u30c0\u3092\u8868\u793a(\u8a08\u6e2c\u306f\u3057\u306a\u3044)
  10. \n
  11. csv\u5f62\u5f0f\u3067\u51fa\u529b
  12. \n
  13. json\u5f62\u5f0f\u3067\u51fa\u529b(\u3057\u3066 jq \u3067\u6574\u5f62)
  14. \n
\n
\n
\n

\u3053\u308c\u3092crontab\u306b\u8a2d\u5b9a\u3057\u3066\u5b9a\u671f\u7684\u306b\u5b9f\u884c\u3057\uff0c\u901f\u5ea6\u306e\u5909\u5316\u3092\u898b\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3057\u305f\uff0e

\n
\n
\n

crontab\u306b */30 * * * * speedtest-cli --csv >> ~/log/speedtest.csv \u3092\u8a2d\u5b9a\u3057\u306630\u5206\u6bce\u306b\u901f\u5ea6\u30c6\u30b9\u30c8\u3092\u3057\u3066 ~/log/speedtest.csv \u306b\u66f8\u304d\u51fa\u3057\u3066\u307f\u307e\u3059\uff0e

\n
\n
\n
\n
$ mkdir ~/log (1)\n$ speedtest-cli --csv-header > ~/log/speedtest.csv (2)\n$ crontab -e (3)\n$ crontab -l | grep speedtest-cli (4)\n*/30 * * * *    speedtest-cli --csv >> ~/log/speedtest.csv
\n
\n
\n
\n
    \n
  1. \u30ed\u30b0\u683c\u7d0d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4f5c\u6210
  2. \n
  3. csv\u30d8\u30c3\u30c0\u3092\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u8fbc\u307f
  4. \n
  5. crontab -e \u3067\u4ee5\u4e0b\u306e\u884c\u3092\u8ffd\u52a0
  6. \n
  7. crontab\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u306e\u3092\u78ba\u8a8d
  8. \n
\n
\n
\n

\u3057\u304b\u3057\uff0c\u624b\u52d5\u3067\u5b9f\u884c\u6642\u306b\u306f\u5931\u6557\u3057\u305f\u9803\u304c\u306a\u3044\u306e\u306bcrontab \u7d4c\u7531\u3060\u3068\u307b\u307c\u5168\u3066\u304c\u5931\u6557\u3057\u307e\u3059\uff0e\u307e\u308c\u306b\u6210\u529f\u3059\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u304c\uff0c10\u56de\u306b1\u56de\u3082\u6210\u529f\u3057\u307e\u305b\u3093\uff0e

\n
\n
\n

\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\uff0e

\n
\n
\n
\n
ERROR: Unable to connect to servers to test latency.
\n
\n
\n
\n

crontab\u3067\u3060\u3051\u30a8\u30e9\u30fc\u3068\u306a\u308b\u306e\u3067\uff0c\u30b3\u30de\u30f3\u30c9\u3092shell script file\u306b\u3057\u3066\u305d\u308c\u3092\u547c\u3076\u3088\u3046\u306b\u3057\u305f\u308a\uff0c\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u65b9\u6cd5\u3092\u5909\u66f4\u3057\u3066\u307f\u305f\u308a\uff0csource\u3092\u898b\u308b\u3068\u30b5\u30fc\u30d0\u30ea\u30b9\u30c8\u306e\u53d6\u5f97\u306b\u5931\u6557\u3057\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u3067\u30b5\u30fc\u30d0\u3092\u6307\u5b9a\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u305f\u3051\u3069\u30b5\u30fc\u30d0\u3092\u6307\u5b9a\u3057\u3066\u3082\u30b5\u30fc\u30d0\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3059\u308b\u306e\u3067\u610f\u5473\u304c\u306a\u304b\u3063\u305f\u308a\u3068\u3044\u3046\u3053\u3068\u3092\u8a66\u3057\u3066\u3044\u307e\u3057\u305f\uff0e

\n
\n
\n

\u3082\u3057\u304b\u3057\u3066\u6bce0\u5206\uff0c30\u5206\u306e\u5b9f\u884c\u3059\u308b\u306e\u304c\u826f\u304f\u306a\u3044\u306e\u3067\u306f\u3068\uff0ccrontab\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u63db\u3048\u30666\u5206\u306836\u5206\u306b\u5b9f\u884c\u3055\u308c\u308b\u3088\u3046\u5909\u66f4\u305f\u3068\u3053\u308d\u308d\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ crontab -l | grep speedtest-cli (1)\n6,36 * * * *    speedtest-cli --csv >> ~/log/speedtest.csv
\n
\n
\n
\n

\u624b\u52d5\u3067\u30820\u5206\u4e01\u5ea6\u306b\u5b9f\u884c\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ speedtest-cli\nRetrieving speedtest.net configuration...\nTesting from freebit (180.131.110.140)...\nRetrieving speedtest.net server list...\nSelecting best server based on ping...\nERROR: Unable to connect to servers to test latency.
\n
\n
\n
\n

\u3068\u3044\u3046\u3053\u3068\u3067\u3068\u308a\u3042\u3048\u305a\u304d\u308a\u306e\u3044\u3044\u6642\u9593\u304b\u3089\u305a\u3089\u3059\u3068\u52d5\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e

\n
\n
\n

\u5b9f\u306fSpeedTest\u516c\u5f0f\u306eCLI \u30c4\u30fc\u30eb\u3082\u3042\u308a\u3053\u308c\u3060\u3068\u4eca\u56de\u306e\u554f\u984c\u306f\u8d77\u3053\u3089\u306a\u3044\u3088\u3046\u3067\u3059\uff0e
\n\u30d0\u30a4\u30ca\u30ea\u3057\u304b\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u304c\uff0cmacOS/Windows/Linux/FreeBSD\u7248\u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u3066\uff0cLinux\u306fi386, x86_64, armlf, armhf, arm64 \u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\uff0e

\n
\n
\n\n
\n
\n

\u3053\u3061\u3089\u3092\u4f7f\u3046\u3068\u6bce0\u5206\uff0c30\u5206\u306b\u5b9f\u884c\u3057\u3066\u3082\u52d5\u4f5c\u3057\u307e\u3057\u305f\uff0e csv, tsv, json, jsonl, json-pretty` \u3067\u306e\u51fa\u529b\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u3057\u3053\u3061\u3089\u3092\u4f7f\u3046\u306e\u3082\u3042\u308a\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e\u305f\u3060source\u3082\u7121\u3044\u30572019\u5e74\u306e\u30ea\u30ea\u30fc\u30b9\u304b\u3089\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u4e0a\u304c\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u30e1\u30f3\u30c6\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u3061\u3087\u3063\u3068\u4e0d\u5b89\u3067\u3059\uff0e

\n
\n
\n
\u74b0\u5883
\n
\n
$ dpkg-query -W speedtest-cli\nspeedtest-cli   2.1.3-2\n$ lsb_release -dr\nDescription:    Debian GNU/Linux 11 (bullseye)\nRelease:        11\n$ arch\nx86_64
\n
\n
\n", "content_text": "\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u901f\u5ea6\u8a08\u6e2c\u30b5\u30a4\u30c8\u306eSpeedtest.net \u3068\u3044\u3046\u30b5\u30a4\u30c8\u304c\u3042\u308a\u307e\u3059\uff0e\n\n\n\nSpeedtest by Ookla – The Global Broadband Speed Test\n\n\n\n\u4e16\u754c\u4e2d\u306b\u3042\u308b\u30b5\u30fc\u30d0\u306e\u3046\u3061\u81ea\u5206\u306e\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u8fd1\u3044\u3067\u3042\u308d\u3046\u30b5\u30fc\u30d0\u3092\u9078\u3093\u3067\u901f\u5ea6\u8a08\u6e2c\u3092\u3057\u3066\u304f\u308c\u308b\u30b5\u30fc\u30d3\u30b9\u3067\u3059\uff0e\n\n\n\n\u3053\u306e\u30b5\u30fc\u30d3\u30b9\u3092cli \u3067\u5b9f\u884c\u3067\u304d\u308bPython\u88fd speedtest-cli \u3068\u3044\u3046Apache 2.0\u30e9\u30a4\u30bb\u30f3\u30b9\u306e\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u306e\u30c4\u30fc\u30eb\u304c\u3042\u308a\u307e\u3059\uff0eDebian\u3060\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u3042\u308b\u306e\u3067\u5c0e\u5165\u3082\u7c21\u5358\u3067\u3059\uff0e\n\n\n\nsivel/speedtest-cli: Command line interface for testing internet bandwidth using speedtest.net\n\n\n\n\n$ sudo apt install speedtest-cli\n$ speedtest-cli -h\nusage: speedtest-cli [-h] [--no-download] [--no-upload] [--single] [--bytes] [--share] [--simple] [--csv] [--csv-delimiter CSV_DELIMITER]\n [--csv-header] [--json] [--list] [--server SERVER] [--exclude EXCLUDE] [--mini MINI] [--source SOURCE] [--timeout TIMEOUT]\n [--secure] [--no-pre-allocate] [--version]\n\nCommand line interface for testing internet bandwidth using speedtest.net.\n-------------------------------------------------------------------------- https://github.com/sivel/speedtest-cli\n\noptional arguments:\n -h, --help show this help message and exit\n --no-download Do not perform download test\n --no-upload Do not perform upload test\n --single Only use a single connection instead of multiple. This simulates a typical file transfer.\n --bytes Display values in bytes instead of bits. Does not affect the image generated by --share, nor output from --json or\n --csv\n --share Generate and provide a URL to the speedtest.net share results image, not displayed with --csv\n --simple Suppress verbose output, only show basic information\n --csv Suppress verbose output, only show basic information in CSV format. Speeds listed in bit/s and not affected by --bytes\n --csv-delimiter CSV_DELIMITER\n Single character delimiter to use in CSV output. Default \",\"\n --csv-header Print CSV headers\n --json Suppress verbose output, only show basic information in JSON format. Speeds listed in bit/s and not affected by --bytes\n --list Display a list of speedtest.net servers sorted by distance\n --server SERVER Specify a server ID to test against. Can be supplied multiple times\n --exclude EXCLUDE Exclude a server from selection. Can be supplied multiple times\n --mini MINI URL of the Speedtest Mini server\n --source SOURCE Source IP address to bind to\n --timeout TIMEOUT HTTP timeout in seconds. Default 10\n --secure Use HTTPS instead of HTTP when communicating with speedtest.net operated servers\n --no-pre-allocate Do not pre allocate upload data. Pre allocation is enabled by default to improve upload performance. To support systems\n with insufficient memory, use this option to avoid a MemoryError\n --version Show the version number and exit\nmatoken@t430s:/media/matoken/rootfs/home/matoken/Videos$\n\n\n\n\u51fa\u529b\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\uff0ccsv\u3084json\u3067\u66f8\u304d\u51fa\u3059\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\uff0e\n\n\n\n$ speedtest-cli (1)\nRetrieving speedtest.net configuration...\nTesting from freebit (203.0.113.0)...\nRetrieving speedtest.net server list...\nSelecting best server based on ping...\nHosted by OpenGW (Shizuoka) [64.23 km]: 82.301 ms\nTesting download speed................................................................................\nDownload: 1.51 Mbit/s\nTesting upload speed......................................................................................................\nUpload: 0.95 Mbit/s\n$ speedtest-cli --simple (2)\nPing: 68.211 ms\nDownload: 8.11 Mbit/s\nUpload: 0.84 Mbit/s\n$ speedtest-cli --list | grep -i japan | grep -Ei 'kagoshima|miyazaki|kumamoto|ooita|fukuoka|saga|hitoyoshi' (3)\n 8407) Allied Telesis Capital Corporation (Sagamihara, Japan) [175.03 km]\n35106) yoshis.jp (KDDI-NET) (Fukuoka, Japan) [687.23 km]\n38134) NousagiNetwork(@_0rze) (Fukuoka, Japan) [687.23 km]\n38947) Rikimoto (Fukuoka, Japan) [687.23 km]\n18709) extride inc (Hitoyoshi, Japan) [705.48 km]\n$ speedtest-cli --simple --server 18709 (4)\nPing: 122.31 ms\nDownload: 6.01 Mbit/s\nUpload: 0.81 Mbit/s\n$ speedtest-cli --csv-header (5)\nServer ID,Sponsor,Server Name,Timestamp,Distance,Ping,Download,Upload,Share,IP Address\n$ speedtest-cli --csv (6)\n42842,Mamireimu Net Work's,Nara,2021-06-23T09:15:44.814808Z,177.32698372902544,86.096,8215354.331324884,1350756.2707027544,,203.0.113.0\n$ speedtest-cli --json | jq . (7)\n{\n \"download\": 7961762.454176666,\n \"upload\": 1054738.8634894243,\n \"ping\": 73.207,\n \"server\": {\n \"url\": \"http://speedtestooklaserverjapannagoyashizuoka.baobivawpvojawvianoipwqnpibvbqoubwuvbqasciboabowbcacacwcqcqx001.bar:8080/speedtest/upload.php\",\n \"lat\": \"34.9756\",\n \"lon\": \"138.3827\",\n \"name\": \"Shizuoka\",\n \"country\": \"Japan\",\n \"cc\": \"JP\",\n \"sponsor\": \"OpenGW\",\n \"id\": \"42413\",\n \"host\": \"speedtestooklaserverjapannagoyashizuoka.baobivawpvojawvianoipwqnpibvbqoubwuvbqasciboabowbcacacwcqcqx001.bar:8080\",\n \"d\": 64.2282382602239,\n \"latency\": 73.207\n },\n \"timestamp\": \"2021-06-23T09:19:28.880310Z\",\n \"bytes_sent\": 1515520,\n \"bytes_received\": 10101900,\n \"share\": null,\n \"client\": {\n \"ip\": \"203.0.113.0\",\n \"lat\": \"34.733\",\n \"lon\": \"137.7439\",\n \"isp\": \"freebit\",\n \"isprating\": \"3.7\",\n \"rating\": \"0\",\n \"ispdlavg\": \"0\",\n \"ispulavg\": \"0\",\n \"loggedin\": \"0\",\n \"country\": \"JP\"\n }\n}\n\n\n\n\n\u65e2\u5b9a\u5024\u3067\u5b9f\u884c\u3059\u308b\u3068\u81ea\u5206\u306eip\u30a2\u30c9\u30ec\u30b9\u306egeoip\u3067\u8fd1\u3044\u30b5\u30fc\u30d0\u306bping\u3092\u6253\u3063\u3066\u8fd1\u305d\u3046\u306a\u30b5\u30fc\u30d0\u3092\u63a2\u3057\u3066\u901f\u5ea6\u30c6\u30b9\u30c8\u3059\u308b\uff0e(\u7269\u7406\u7684\u306b\u306f\u9e7f\u5150\u5cf6\u3060\u3051\u3069geoip\u3067\u306f\u9759\u5ca1\u6271\u3044\u306a\u306e\u3067\u305d\u306e\u5468\u308a\u304c\u4f7f\u308f\u308c\u308b)\n\u30b7\u30f3\u30d7\u30eb\u306a\u8868\u793a\n\u7269\u7406\u7684\u306b\u8fd1\u305d\u3046\u306a\u4e5d\u5dde\u5185\u306e\u30b5\u30fc\u30d0\u3092\u63a2\u3059\n\u7269\u7406\u7684\u306b\u4e00\u756a\u8fd1\u3044\u30b5\u30fc\u30d0\u3092\u6307\u5b9a\ncsv\u30d8\u30c3\u30c0\u3092\u8868\u793a(\u8a08\u6e2c\u306f\u3057\u306a\u3044)\ncsv\u5f62\u5f0f\u3067\u51fa\u529b\njson\u5f62\u5f0f\u3067\u51fa\u529b(\u3057\u3066 jq \u3067\u6574\u5f62)\n\n\n\n\u3053\u308c\u3092crontab\u306b\u8a2d\u5b9a\u3057\u3066\u5b9a\u671f\u7684\u306b\u5b9f\u884c\u3057\uff0c\u901f\u5ea6\u306e\u5909\u5316\u3092\u898b\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3057\u305f\uff0e\n\n\ncrontab\u306b */30 * * * * speedtest-cli --csv >> ~/log/speedtest.csv \u3092\u8a2d\u5b9a\u3057\u306630\u5206\u6bce\u306b\u901f\u5ea6\u30c6\u30b9\u30c8\u3092\u3057\u3066 ~/log/speedtest.csv \u306b\u66f8\u304d\u51fa\u3057\u3066\u307f\u307e\u3059\uff0e\n\n\n\n$ mkdir ~/log (1)\n$ speedtest-cli --csv-header > ~/log/speedtest.csv (2)\n$ crontab -e (3)\n$ crontab -l | grep speedtest-cli (4)\n*/30 * * * * speedtest-cli --csv >> ~/log/speedtest.csv\n\n\n\n\n\u30ed\u30b0\u683c\u7d0d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4f5c\u6210\ncsv\u30d8\u30c3\u30c0\u3092\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u8fbc\u307f\ncrontab -e \u3067\u4ee5\u4e0b\u306e\u884c\u3092\u8ffd\u52a0\ncrontab\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u306e\u3092\u78ba\u8a8d\n\n\n\n\u3057\u304b\u3057\uff0c\u624b\u52d5\u3067\u5b9f\u884c\u6642\u306b\u306f\u5931\u6557\u3057\u305f\u9803\u304c\u306a\u3044\u306e\u306bcrontab \u7d4c\u7531\u3060\u3068\u307b\u307c\u5168\u3066\u304c\u5931\u6557\u3057\u307e\u3059\uff0e\u307e\u308c\u306b\u6210\u529f\u3059\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u304c\uff0c10\u56de\u306b1\u56de\u3082\u6210\u529f\u3057\u307e\u305b\u3093\uff0e\n\n\n\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\uff0e\n\n\n\nERROR: Unable to connect to servers to test latency.\n\n\n\ncrontab\u3067\u3060\u3051\u30a8\u30e9\u30fc\u3068\u306a\u308b\u306e\u3067\uff0c\u30b3\u30de\u30f3\u30c9\u3092shell script file\u306b\u3057\u3066\u305d\u308c\u3092\u547c\u3076\u3088\u3046\u306b\u3057\u305f\u308a\uff0c\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u65b9\u6cd5\u3092\u5909\u66f4\u3057\u3066\u307f\u305f\u308a\uff0csource\u3092\u898b\u308b\u3068\u30b5\u30fc\u30d0\u30ea\u30b9\u30c8\u306e\u53d6\u5f97\u306b\u5931\u6557\u3057\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u3067\u30b5\u30fc\u30d0\u3092\u6307\u5b9a\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u305f\u3051\u3069\u30b5\u30fc\u30d0\u3092\u6307\u5b9a\u3057\u3066\u3082\u30b5\u30fc\u30d0\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3059\u308b\u306e\u3067\u610f\u5473\u304c\u306a\u304b\u3063\u305f\u308a\u3068\u3044\u3046\u3053\u3068\u3092\u8a66\u3057\u3066\u3044\u307e\u3057\u305f\uff0e\n\n\n\u3082\u3057\u304b\u3057\u3066\u6bce0\u5206\uff0c30\u5206\u306e\u5b9f\u884c\u3059\u308b\u306e\u304c\u826f\u304f\u306a\u3044\u306e\u3067\u306f\u3068\uff0ccrontab\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u63db\u3048\u30666\u5206\u306836\u5206\u306b\u5b9f\u884c\u3055\u308c\u308b\u3088\u3046\u5909\u66f4\u305f\u3068\u3053\u308d\u308d\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e\n\n\n\n$ crontab -l | grep speedtest-cli (1)\n6,36 * * * * speedtest-cli --csv >> ~/log/speedtest.csv\n\n\n\n\u624b\u52d5\u3067\u30820\u5206\u4e01\u5ea6\u306b\u5b9f\u884c\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\uff0e\n\n\n\n$ speedtest-cli\nRetrieving speedtest.net configuration...\nTesting from freebit (180.131.110.140)...\nRetrieving speedtest.net server list...\nSelecting best server based on ping...\nERROR: Unable to connect to servers to test latency.\n\n\n\n\u3068\u3044\u3046\u3053\u3068\u3067\u3068\u308a\u3042\u3048\u305a\u304d\u308a\u306e\u3044\u3044\u6642\u9593\u304b\u3089\u305a\u3089\u3059\u3068\u52d5\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e\n\n\n\u5b9f\u306fSpeedTest\u516c\u5f0f\u306eCLI \u30c4\u30fc\u30eb\u3082\u3042\u308a\u3053\u308c\u3060\u3068\u4eca\u56de\u306e\u554f\u984c\u306f\u8d77\u3053\u3089\u306a\u3044\u3088\u3046\u3067\u3059\uff0e\n\u30d0\u30a4\u30ca\u30ea\u3057\u304b\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u304c\uff0cmacOS/Windows/Linux/FreeBSD\u7248\u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u3066\uff0cLinux\u306fi386, x86_64, armlf, armhf, arm64 \u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\uff0e\n\n\n\nSpeedtest CLI – Internet connection measurement for developers\n\n\n\n\u3053\u3061\u3089\u3092\u4f7f\u3046\u3068\u6bce0\u5206\uff0c30\u5206\u306b\u5b9f\u884c\u3057\u3066\u3082\u52d5\u4f5c\u3057\u307e\u3057\u305f\uff0e csv, tsv, json, jsonl, json-pretty` \u3067\u306e\u51fa\u529b\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u3057\u3053\u3061\u3089\u3092\u4f7f\u3046\u306e\u3082\u3042\u308a\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e\u305f\u3060source\u3082\u7121\u3044\u30572019\u5e74\u306e\u30ea\u30ea\u30fc\u30b9\u304b\u3089\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u4e0a\u304c\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u30e1\u30f3\u30c6\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u3061\u3087\u3063\u3068\u4e0d\u5b89\u3067\u3059\uff0e\n\n\n\u74b0\u5883\n\n$ dpkg-query -W speedtest-cli\nspeedtest-cli 2.1.3-2\n$ lsb_release -dr\nDescription: Debian GNU/Linux 11 (bullseye)\nRelease: 11\n$ arch\nx86_64", "date_published": "2021-07-06T06:18:14+09:00", "date_modified": "2021-07-06T06:18:16+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "crontab", "speedtest", "bullseye", "Debian", "Linux", "testing" ] }, { "id": "http://matoken.org/blog/?p=1649", "url": "https://matoken.org/blog/2017/09/09/try_speedtest-cli/", "title": "speedtest.net\u304ccli\u3067\u5229\u7528\u3067\u304d\u308bspeedtest-cli\u3092\u8a66\u3059", "content_html": "

\u4e5d\u91cc \u771f\u590f @orumin \u305d\u3046\u3044\u3048\u3070 speedtest.net \u3063\u3066 Linux \u306e CLI client \u3082\u3042\u308a\u307e\u3059\u306d\u3002

\n

\u3063\u3066\u3053\u3068\u3067Linux\u306ecli\u3067\u52d5\u304fPython\u88fd\u306espeedtest-cli\u3092\u3061\u3087\u3063\u3068\u8a66\u3057\u3066\u307f\u305f\uff0e

\n\n

speedtest.net\u3067\u306e\u56de\u7dda\u901f\u5ea6\u8a08\u6e2c\u3092cli\u3067\u884c\u3048\u307e\u3059\uff0epython\u88fd\u3067pip\u3068\u304b\u3067\u5404\u7a2e\u74b0\u5883\u306b\u5c0e\u5165\u53ef\u80fd\uff0e

\n

Debian\u3060\u3068jessie\u4ee5\u964dall, Ubuntu\u3060\u306816.04LTS\u4ee5\u964dall\u306bpkg\u3082\u3042\u308b\u306e\u3067apt\u4e00\u767a\u3067\u5165\u308b\u3057\uff0cRaspberry Pi\u306a\u3069\u306eARM\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306a\u3093\u304b\u3067\u3082\u554f\u984c\u306a\u304f\u52d5\u304d\u307e\u3057\u305f\uff0e

\n\n

\u898f\u5b9a\u5024\u306e\u52d5\u4f5c\u306fip\u304b\u3089\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u62fe\u3063\u3066\u305d\u3053\u304b\u3089\u8fd1\u3044\u30b5\u30fc\u30d0\u30fc\u3067\u8a08\u6e2c\u3057\u305f\u7d50\u679c\u3092\u8fd4\u3059\u3088\u3046\u3067\u3059\uff0e
\n\u81ea\u5b85\u306eip\u30a2\u30c9\u30ec\u30b9\u3067\u306e\u81ea\u52d5\u5224\u5b9a\u3067\u306f\u9759\u5ca1\u306b\u306a\u3063\u3066\u305f\u306e\u3067\u624b\u52d5\u3067\u8a08\u6e2c\u30b5\u30fc\u30d0\u3092\u5909\u66f4\u3057\u3066\u9e7f\u5150\u5cf6\u3068\u6771\u4eac\u3092\u8a66\u3057\u307e\u3057\u305f\uff0e

\n

help

\n\n\n\n\n
\n
$ speedtest-cli -h\nusage: speedtest-cli [-h] [--bytes] [--share] [--simple] [--list]\n[--server SERVER] [--mini MINI] [--source SOURCE]\n[--timeout TIMEOUT] [--secure] [--version]\n\nCommand line interface for testing internet bandwidth using speedtest.net.\n--------------------------------------------------------------------------\nhttps://github.com/sivel/speedtest-cli\n\noptional arguments:\n-h, --help show this help message and exit\n--bytes Display values in bytes instead of bits. Does not affect\nthe image generated by --share\n--share Generate and provide a URL to the speedtest.net share\nresults image\n--simple Suppress verbose output, only show basic information\n--list Display a list of speedtest.net servers sorted by\ndistance\n--server SERVER Specify a server ID to test against\n--mini MINI URL of the Speedtest Mini server\n--source SOURCE Source IP address to bind to\n--timeout TIMEOUT HTTP timeout in seconds. Default 10\n--secure Use HTTPS instead of HTTP when communicating with\nspeedtest.net operated servers\n--version Show the version number and exit
\n
\n

\u898f\u5b9a\u5024\u3067\u306f\u81ea\u5b85\u306f\u9759\u5ca1\u306b\u306a\u3063\u3066\u3044\u3066\u9759\u5ca1\u30b5\u30fc\u30d0\u3067\u8a08\u6e2c\u3059\u308b(\u5b9f\u969b\u306f\u9e7f\u5150\u5cf6)

\n\n\n\n\n
\n
$ speedtest-cli\nRetrieving speedtest.net configuration...\nRetrieving speedtest.net server list...\nTesting from FreeBit (180.131.110.140)...\nSelecting best server based on latency...\nHosted by ClickL Network (Shizuoka) [0.02 km]: 110.464 ms\nTesting download speed........................................\nDownload: 2.07 Mbit/s\nTesting upload speed..................................................\nUpload: 0.92 Mbit/s
\n
\n

\u65e5\u672c\u306e\u30b5\u30fc\u30d0\u3092\u78ba\u8a8d\u3059\u308b

\n\n\n\n\n
\n
$ speedtest-cli --list|grep -i japan\n14180) ClickL Network (Shizuoka, Japan) [0.02 km]\n8407) Allied Telesis Capital Corporation (Sagamihara, Japan) [111.58 km]\n6087) Allied Telesis Capital Corporation (Fussa-shi, Japan) [120.41 km]\n6508) at2wn (Yokohama, Japan) [125.30 km]\n7510) ASEINet (Tokyo, Japan) [141.71 km]\n12546) TB (Tokyo, Japan) [141.71 km]\n12511) h3zjp (Nerima, Japan) [142.66 km]\n8348) Foxcore-LS (Sodegaura, Japan) [167.71 km]\n7139) SoftEther Corporation (Tsukuba, Japan) [192.41 km]\n6368) gatolabo (Maibara, Japan) [194.62 km]\n6766) JAIST(ino-lab) (Nomi, Japan) [232.28 km]\n13641) NextechNetworkSolutions (Nara, Japan) [237.53 km]\n6476) rxy (individual) (Osaka, Japan) [264.80 km]\n8832) prize3046 (Ikeda, Japan) [269.86 km]\n8193) kamiari (Sendai, Japan) [427.67 km]\n7976) denpa893 (Hikari, Japan) [601.03 km]\n6405) Allied Telesis Capital Corporation (Misawa, Japan) [686.38 km]\n13568) KSL (Kagoshima, Japan) [820.38 km]\n811) GLBB Japan KK (Chatan, Japan) [1397.84 km]\n6581) haza (Haebaru, Japan) [1410.56 km]
\n
\n

\u9e7f\u5150\u5cf6\u30b5\u30fc\u30d0\u3067\u8a08\u6e2c\u3057\u3066\u307f\u308b

\n\n\n\n\n
\n
$ speedtest-cli --server 13568\nRetrieving speedtest.net configuration...\nRetrieving speedtest.net server list...\nTesting from FreeBit (180.131.110.140)...\nHosted by KSL (Kagoshima) [820.38 km]: 103.499 ms\nTesting download speed........................................\nDownload: 2.20 Mbit/s\nTesting upload speed..................................................\nUpload: 0.92 Mbit/s
\n
\n

\u6771\u4eac\u3092–simple option\u3067\u8a08\u6e2c\u3057\u3066\u307f\u308b

\n\n\n\n\n
\n
$ speedtest-cli --simple --server 7510\nPing: 150.627 ms\nDownload: 1.88 Mbit/s\nUpload: 0.84 Mbit/s
\n
\n

\u30b5\u30fc\u30d0\u306e\u6570\u3092\u78ba\u8a8d\u3057\u3066\u307f\u308b

\n\n\n\n\n
\n
$ speedtest-cli --list | wc -l\n6509
\n
\n

speedtest\u306fJavaScript\u3084Adobe Flash\u304c\u5fc5\u8981\u306a\u3053\u3068\u304c\u591a\u304f\u3066\u30d8\u30c3\u30c9\u30ec\u30b9\u74b0\u5883\u306a\u3069\u3067\u306f\u9762\u5012\u3067\u3057\u305f\uff0e
\niperf\u3084netcat\u306a\u3093\u304b\u306f\u304a\u624b\u8efd\u3067\u3059\u304c\uff0c\u901f\u5ea6\u30c6\u30b9\u30c8\u5148\u306e\u30b5\u30fc\u30d0\u306e\u7528\u610f\u304c\u5fc5\u8981\u3067\u3059\uff0e

\n

\u4eca\u56de\u306espeedtest-cli\u306f\u304a\u624b\u8efd\u306b\u5c0e\u5165\u3067\u304d\u3066\u4e16\u754c\u5404\u5730\u306e\u30b5\u30fc\u30d0\u76f8\u624b\u306bcli\u3067speed test\u3082\u51fa\u6765\u3066\u3044\u3044\u611f\u3058\u3067\u3059\uff0e

\n

\n
\n
\n", "content_text": "\u4e5d\u91cc \u771f\u590f @orumin \u305d\u3046\u3044\u3048\u3070 speedtest.net \u3063\u3066 Linux \u306e CLI client \u3082\u3042\u308a\u307e\u3059\u306d\u3002\n\u3063\u3066\u3053\u3068\u3067Linux\u306ecli\u3067\u52d5\u304fPython\u88fd\u306espeedtest-cli\u3092\u3061\u3087\u3063\u3068\u8a66\u3057\u3066\u307f\u305f\uff0e\n\n\n\nGitHub – sivel/speedtest-cli: Command line interface for testing internet bandwidth using speedtest.net\n\n\n\nspeedtest.net\u3067\u306e\u56de\u7dda\u901f\u5ea6\u8a08\u6e2c\u3092cli\u3067\u884c\u3048\u307e\u3059\uff0epython\u88fd\u3067pip\u3068\u304b\u3067\u5404\u7a2e\u74b0\u5883\u306b\u5c0e\u5165\u53ef\u80fd\uff0e\nDebian\u3060\u3068jessie\u4ee5\u964dall, Ubuntu\u3060\u306816.04LTS\u4ee5\u964dall\u306bpkg\u3082\u3042\u308b\u306e\u3067apt\u4e00\u767a\u3067\u5165\u308b\u3057\uff0cRaspberry Pi\u306a\u3069\u306eARM\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306a\u3093\u304b\u3067\u3082\u554f\u984c\u306a\u304f\u52d5\u304d\u307e\u3057\u305f\uff0e\n\n\n\nDebian — \u30d1\u30c3\u30b1\u30fc\u30b8\u691c\u7d22\u7d50\u679c — speedtest-cli\n\n\n\n\nUbuntu \u2013 \u30d1\u30c3\u30b1\u30fc\u30b8\u691c\u7d22\u7d50\u679c — speedtest-cli\n\n\n\n\u898f\u5b9a\u5024\u306e\u52d5\u4f5c\u306fip\u304b\u3089\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u62fe\u3063\u3066\u305d\u3053\u304b\u3089\u8fd1\u3044\u30b5\u30fc\u30d0\u30fc\u3067\u8a08\u6e2c\u3057\u305f\u7d50\u679c\u3092\u8fd4\u3059\u3088\u3046\u3067\u3059\uff0e\n\u81ea\u5b85\u306eip\u30a2\u30c9\u30ec\u30b9\u3067\u306e\u81ea\u52d5\u5224\u5b9a\u3067\u306f\u9759\u5ca1\u306b\u306a\u3063\u3066\u305f\u306e\u3067\u624b\u52d5\u3067\u8a08\u6e2c\u30b5\u30fc\u30d0\u3092\u5909\u66f4\u3057\u3066\u9e7f\u5150\u5cf6\u3068\u6771\u4eac\u3092\u8a66\u3057\u307e\u3057\u305f\uff0e\nhelp\n\n\n\n$ speedtest-cli -h\nusage: speedtest-cli [-h] [--bytes] [--share] [--simple] [--list]\n[--server SERVER] [--mini MINI] [--source SOURCE]\n[--timeout TIMEOUT] [--secure] [--version]\n\nCommand line interface for testing internet bandwidth using speedtest.net.\n--------------------------------------------------------------------------\nhttps://github.com/sivel/speedtest-cli\n\noptional arguments:\n-h, --help show this help message and exit\n--bytes Display values in bytes instead of bits. Does not affect\nthe image generated by --share\n--share Generate and provide a URL to the speedtest.net share\nresults image\n--simple Suppress verbose output, only show basic information\n--list Display a list of speedtest.net servers sorted by\ndistance\n--server SERVER Specify a server ID to test against\n--mini MINI URL of the Speedtest Mini server\n--source SOURCE Source IP address to bind to\n--timeout TIMEOUT HTTP timeout in seconds. Default 10\n--secure Use HTTPS instead of HTTP when communicating with\nspeedtest.net operated servers\n--version Show the version number and exit\n\n\n\n\u898f\u5b9a\u5024\u3067\u306f\u81ea\u5b85\u306f\u9759\u5ca1\u306b\u306a\u3063\u3066\u3044\u3066\u9759\u5ca1\u30b5\u30fc\u30d0\u3067\u8a08\u6e2c\u3059\u308b(\u5b9f\u969b\u306f\u9e7f\u5150\u5cf6)\n\n\n\n$ speedtest-cli\nRetrieving speedtest.net configuration...\nRetrieving speedtest.net server list...\nTesting from FreeBit (180.131.110.140)...\nSelecting best server based on latency...\nHosted by ClickL Network (Shizuoka) [0.02 km]: 110.464 ms\nTesting download speed........................................\nDownload: 2.07 Mbit/s\nTesting upload speed..................................................\nUpload: 0.92 Mbit/s\n\n\n\n\u65e5\u672c\u306e\u30b5\u30fc\u30d0\u3092\u78ba\u8a8d\u3059\u308b\n\n\n\n$ speedtest-cli --list|grep -i japan\n14180) ClickL Network (Shizuoka, Japan) [0.02 km]\n8407) Allied Telesis Capital Corporation (Sagamihara, Japan) [111.58 km]\n6087) Allied Telesis Capital Corporation (Fussa-shi, Japan) [120.41 km]\n6508) at2wn (Yokohama, Japan) [125.30 km]\n7510) ASEINet (Tokyo, Japan) [141.71 km]\n12546) TB (Tokyo, Japan) [141.71 km]\n12511) h3zjp (Nerima, Japan) [142.66 km]\n8348) Foxcore-LS (Sodegaura, Japan) [167.71 km]\n7139) SoftEther Corporation (Tsukuba, Japan) [192.41 km]\n6368) gatolabo (Maibara, Japan) [194.62 km]\n6766) JAIST(ino-lab) (Nomi, Japan) [232.28 km]\n13641) NextechNetworkSolutions (Nara, Japan) [237.53 km]\n6476) rxy (individual) (Osaka, Japan) [264.80 km]\n8832) prize3046 (Ikeda, Japan) [269.86 km]\n8193) kamiari (Sendai, Japan) [427.67 km]\n7976) denpa893 (Hikari, Japan) [601.03 km]\n6405) Allied Telesis Capital Corporation (Misawa, Japan) [686.38 km]\n13568) KSL (Kagoshima, Japan) [820.38 km]\n811) GLBB Japan KK (Chatan, Japan) [1397.84 km]\n6581) haza (Haebaru, Japan) [1410.56 km]\n\n\n\n\u9e7f\u5150\u5cf6\u30b5\u30fc\u30d0\u3067\u8a08\u6e2c\u3057\u3066\u307f\u308b\n\n\n\n$ speedtest-cli --server 13568\nRetrieving speedtest.net configuration...\nRetrieving speedtest.net server list...\nTesting from FreeBit (180.131.110.140)...\nHosted by KSL (Kagoshima) [820.38 km]: 103.499 ms\nTesting download speed........................................\nDownload: 2.20 Mbit/s\nTesting upload speed..................................................\nUpload: 0.92 Mbit/s\n\n\n\n\u6771\u4eac\u3092–simple option\u3067\u8a08\u6e2c\u3057\u3066\u307f\u308b\n\n\n\n$ speedtest-cli --simple --server 7510\nPing: 150.627 ms\nDownload: 1.88 Mbit/s\nUpload: 0.84 Mbit/s\n\n\n\n\u30b5\u30fc\u30d0\u306e\u6570\u3092\u78ba\u8a8d\u3057\u3066\u307f\u308b\n\n\n\n$ speedtest-cli --list | wc -l\n6509\n\n\n\nspeedtest\u306fJavaScript\u3084Adobe Flash\u304c\u5fc5\u8981\u306a\u3053\u3068\u304c\u591a\u304f\u3066\u30d8\u30c3\u30c9\u30ec\u30b9\u74b0\u5883\u306a\u3069\u3067\u306f\u9762\u5012\u3067\u3057\u305f\uff0e\niperf\u3084netcat\u306a\u3093\u304b\u306f\u304a\u624b\u8efd\u3067\u3059\u304c\uff0c\u901f\u5ea6\u30c6\u30b9\u30c8\u5148\u306e\u30b5\u30fc\u30d0\u306e\u7528\u610f\u304c\u5fc5\u8981\u3067\u3059\uff0e\n\u4eca\u56de\u306espeedtest-cli\u306f\u304a\u624b\u8efd\u306b\u5c0e\u5165\u3067\u304d\u3066\u4e16\u754c\u5404\u5730\u306e\u30b5\u30fc\u30d0\u76f8\u624b\u306bcli\u3067speed test\u3082\u51fa\u6765\u3066\u3044\u3044\u611f\u3058\u3067\u3059\uff0e", "date_published": "2017-09-09T07:30:10+09:00", "date_modified": "2017-09-09T07:30:10+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "speedtest", "Artful(17.10)", "Debian", "jessie", "Linux", "sid", "stretch", "Ubuntu", "xenial(16.04)", "yakkety(16.10)", "Zesty(17.04)" ] } ] }