0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

通信環境を調査(networksetup,ifconfig,iperf)

Last updated at Posted at 2018-06-13

#いろいろなコマンドで通信環境を測定

目標としてSSID,RRSI,NOISEやスループットといった物を測定したい

sudo airport -s # SSIDとRSSIを取得

networksetup -setairportnetwork en0 [SSID] [password] # SSIDを用いてネットワークを切り替える

ifconfig en0 | grep 'inet 10' | grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $2}' # ipアドレスを取得

iperf -s # server側を立ち上げる

iperf -c [IPアドレス] # client側からアクセス

これを組み合わせると得たい数値が測定できそう.

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?