Difference between revisions of "Iperf"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
  
 
  iperf -c <address of other computer>
 
  iperf -c <address of other computer>
  iperf -e -c <address of other computer>
+
iperf --enhanced -c <address of other computer> or iperf -e -c <address of other computer>
  
 
  iperf -c 10.10.10.2
 
  iperf -c 10.10.10.2
Line 23: Line 23:
  
  
  iperf -e -c 10.10.10.1
+
iperf --enhanced -c 10.10.10.1 or iperf -e -c 10.10.10.1
 
  ------------------------------------------------------------
 
  ------------------------------------------------------------
 
  Client connecting to 10.10.10.1, TCP port 5001 with pid 2051443
 
  Client connecting to 10.10.10.1, TCP port 5001 with pid 2051443

Revision as of 07:26, 1 March 2021

wikipedia:iperf perform network throughput tests. https://linux.die.net/man/1/iperf


sudo apt-get install iperf
iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------ 
iperf -c <address of other computer>
iperf --enhanced -c <address of other computer> or  iperf -e -c <address of other computer>
iperf -c 10.10.10.2
------------------------------------------------------------
Client connecting to 10.10.10.2, TCP port 5001
TCP window size:  129 KByte (default)
------------------------------------------------------------
[  4] local 10.10.10.50 port 50027 connected with 10.10.10.2 port 5001
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  3.09 GBytes  2.65 Gbits/sec


iperf --enhanced -c 10.10.10.1 or  iperf -e -c 10.10.10.1
------------------------------------------------------------
Client connecting to 10.10.10.1, TCP port 5001 with pid 2051443
Write buffer size:  128 KByte
TCP window size:  136 KByte (default)
------------------------------------------------------------
[  3] local 10.10.10.5 port 33910 connected with 10.10.10.1 port 5001 (ct=3.18 ms)
[ ID] Interval            Transfer    Bandwidth       Write/Err  Rtry     Cwnd/RTT        NetPwr
[  3] 0.0000-10.0110 sec  88.0 MBytes  73.7 Mbits/sec  704/0          1       -1K/1322 us  6972.29


Related commands

See also

Advertising: