間違いだらけの備忘録

このページの内容は無保証でありこのページの内容によって直接、または間接に損害を受けられたとしても私は責任を取りません。

ネットワーク速度測定

# wget http://downloads.sourceforge.net/project/iperf/iperf/2.0.4%20source/iperf-2.0.4.tar.gz?use_mirror=ncu

# ./configure && make && make install

# iperf -s #サーバ

片方向

# iperf -c サーバIP #クライアント
------------------------------------------------------------
Client connecting to xx.xx.xx.xx, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local xx.xx.xx.xx port 30611 connected with xx.xx.xx.xx port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec    114 MBytes  95.6 Mbits/sec

ループバック

# iperf -c 127.0.0.1
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 5001
TCP window size:   132 KByte (default)
------------------------------------------------------------
[  3] local 127.0.0.1 port 35193 connected with 127.0.0.1 port 5001
[  3]  0.0-10.0 sec  5.29 GBytes  4.55 Gbits/sec

CentOS6 EPEL
http://pkgs.org/centos-6-rhel-6/epel-x86_64/iperf-2.0.5-3.el6.x86_64.rpm/download/
http://dl.fedoraproject.org/pub/epel/6/x86_64/iperf-2.0.5-3.el6.x86_64.rpm
http://d.hatena.ne.jp/chipa34/20080209/1202555514

このページにはhatena以外のサービスからのコンテンツが埋め込まれています。 hatenaによりGoogle AdSense 広告が埋め込まれています。