通信環境を調査(networksetup,ifconfig,iperf)
いろいろなコマンドで通信環境を測定
目標として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側からアクセス
これを組み合わせると得たい数値が測定できそう.
Author And Source
この問題について(通信環境を調査(networksetup,ifconfig,iperf)), 我々は、より多くの情報をここで見つけました https://qiita.com/tchskkbr/items/ad20311bf5fbc51afd25著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .