LoginSignup
15
20

More than 5 years have passed since last update.

ターミナルから回線速度を計測する方法

Last updated at Posted at 2017-01-06

大学の図書館などで勉強していると、たまに回線速度が遅くなります。そこでターミナルから回線速度を測る方法を調べてみました。

1.インストール

$ wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py -O /usr/local/bin/speedtest
$ chmod u+x /usr/local/bin/speedtest

2.(.bashrcなどに)エイリアスを設定

alias speedtest='/usr/local/bin/speedtest'

テスト

$ speedtest

Retrieving speedtest.net configuration...
Testing from Nagoya University (!address!)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by gatolabo (Maibara) [58.61 km]: 25.505 ms
Testing download speed................................................................................
Download: 18.74 Mbit/s
Testing upload speed....................................................................................................
Upload: 17.34 Mbit/s

参考

15
20
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
15
20