본문 바로가기

리눅스

[리눅스] iperf 사용법

반응형

iperf 사용법

iperf 다운로드

$ wget http://sourceforge.net/projects/iperf/files/iperf-2.0.5.tar.gz

$ tar xvfz iperf-2.0.5.tar.gz

$ cd iperf-2.0.5

$ ./configure

$ make

$ make install

서버 모드 : AA_Server 192.168.100.200

[root@AA_Server ~]$ iperf -s

클라이언트 모드 : BB_Client 192.168.100.230

[root@BB_Client ~]$ iperf -c  192.168.100.200 -i 1 -t 360 -P 100

명령어 옵션

-c, --client    <host>   run in client mode, connecting to <host>
-i, --interval  #        seconds between periodic bandwidth reports
-t, --time      #        time in seconds to transmit for (default 10 secs)
-P, --parallel  #        number of parallel client threads to run
-b, --bandwidth #[KM]    for UDP, bandwidth to send at in bits/sec
-l, --len       #[KM]    length of buffer to read or write (default 8 KB)
-f, --format    [kmKM]   format to report: Kbits, Mbits, KBytes, MBytes
-p, --port      #        server port to listen on/connect to
-u, --udp                use UDP rather than TCP
-w, --window    #[KM]    TCP window size (socket buffer size)

네트워크 Bandwidth 측정(iperf, jperf)
참고URL : http://pgclks.tistory.com/379

728x90
반응형