Iperf

Aus xinux.net
Zur Navigation springen Zur Suche springen

Install

  • apt-get install iperf

Server

Standard

  • iperf -s

Server im Demonmodus und Logfile

  • iperf -s -D > /var/log/iperf.log

Client

Standard

  • iperf -c 192.168.240.3
------------------------------------------------------------
Client connecting to 192.168.240.3, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.244.2 port 60500 connected with 192.168.240.3 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   652 MBytes   546 Mbits/sec

Upload test

  • iperf -c 192.168.240.3 -R


Beide Richtungen

  • iperf -c 192.168.240.3 -d
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.240.3, TCP port 5001
TCP window size:  493 KByte (default)
------------------------------------------------------------
[  3] local 192.168.240.69 port 41755 connected with 192.168.240.3 port 5001
[  5] local 192.168.240.69 port 5001 connected with 192.168.240.3 port 59433
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.07 GBytes   916 Mbits/sec
[  5]  0.0-10.0 sec  1.07 GBytes   916 Mbits/sec

Links