Skip to content

Instantly share code, notes, and snippets.

@osamu
Last active October 8, 2015 09:14
Show Gist options
  • Save osamu/b022bf4c241111b5fe21 to your computer and use it in GitHub Desktop.
Save osamu/b022bf4c241111b5fe21 to your computer and use it in GitHub Desktop.

http://qiita.com/ionis_h/items/661a9a9d41cb1574e357 これに沿って設定する マルチ開始時点で以下のコマンドでキャプチャ開始 sudo tcpdump -i rvi0 -s 0 -w multi.pcap

  • キャプチャしたファイルをwiresharkで開く。

  • マルチ用のパケットの羅列がみつかるとおもうので、1つ選択して右クリック

  • Follow UDP Stream or Follow TCP Streamしてストリームをフィルタする

  • フィルタした状態で、StatisticsメニューのSummaryを選ぶと、下の方の表のDisplayedのカラムに フィルタされたパケットのPacket/secとかbyte/secが平均で出ます。

  • capinfoという付属コマンドで同じ事がpcapファイルに対してできますが、フィルタとかあるのでwiresharkの方が簡単ではあります。

  • さらに、StatisticsのPacket Lengthメニューを選び、同じフィルタ条件を入力するとパケットサイズの表ができます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment