Difference between revisions of "Iperf"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
  sudo apt-get install iperf
 
  sudo apt-get install iperf
 
  iperf -s
 
  iperf -s
 +
perf -s
 +
------------------------------------------------------------
 +
Server listening on TCP port 5001
 +
TCP window size: 85.3 KByte (default)
 +
------------------------------------------------------------
 +
 
  perf -c <address of other computer>
 
  perf -c <address of other computer>
  

Revision as of 12:34, 30 November 2020

This article is a Draft. Help us to complete it.

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


sudo apt-get install iperf
iperf -s
perf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------ 
perf -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


Related commands

  • nc
  • ping
  • pv </dev/zero | ssh REMOTE_SERVER 'cat >/dev/null'
  • iperf2, iperf3

See also

Advertising: