プログラミング

Linuxコマンドでインターネット速度のスピードを計測

Linuxパソコン・サーバー上のコマンドラインから、コマンドでインターネット速度(ダウンロード/アップロード)のスピードを計測する方法について紹介します。

curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -

command line – How to check Internet Speed via Terminal? – Ask Ubuntu

光回線工事までの繋ぎとして現在容量無制限速度制限ありの楽天モバイルスーパーホーダイを使っているが、こちらで計測してみた。

Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Love4Taylor (Tokyo) [0.96 km]: 129.08 ms
Testing download speed................................................................................ Download: 0.52 Mbit/s
Testing upload speed................................................................................................
Upload: 1.53 Mbit/s

遅い。まぁ、SSH接続が頻繁に切れるのとRDPができないことを除けばそんなに辛くはないんだけど。

追記

光回線工事済んだので再検証。

Retrieving speedtest.net configuration...
Testing from ARTERIA Networks Corporation (122.xx.xx.xx)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by SoftEther Corporation (Tsukuba) [197.02 km]: 14.408 ms
Testing download speed................................................................................
Download: 330.85 Mbit/s
Testing upload speed................................................................................................
Upload: 283.14 Mbit/s

まぁ、こんなもんでしょう。

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です