Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

iperf(1) [debian man page]

IPERF(1)							   User Manuals 							  IPERF(1)

NAME
iperf - perform network throughput tests SYNOPSIS
iperf -s [ options ] iperf -c server [ options ] iperf -u -s [ options ] iperf -u -c server [ options ] DESCRIPTION
iperf is a tool for performing network throughput measurements. It can test either TCP or UDP throughput. To perform an iperf test the user must establish both a server (to discard traffic) and a client (to generate traffic). GENERAL OPTIONS
-f, --format [kmKM] format to report: Kbits, Mbits, KBytes, MBytes -h, --help print a help synopsis -i, --interval n pause n seconds between periodic bandwidth reports -l, --len n[KM] set length read/write buffer to n (default 8 KB) -m, --print_mss print TCP maximum segment size (MTU - TCP/IP header) -o, --output <filename> output the report or error message to this specified file -p, --port n set server port to listen on/connect to to n (default 5001) -u, --udp use UDP rather than TCP -w, --window n[KM] TCP window size (socket buffer size) -B, --bind <host> bind to <host>, an interface or multicast address -C, --compatibility for use with older versions does not sent extra msgs -M, --mss n set TCP maximum segment size (MTU - 40 bytes) -N, --nodelay set TCP no delay, disabling Nagle's Algorithm -v, --version print version information and quit -V, --IPv6Version Set the domain to IPv6 -x, --reportexclude [CDMSV] exclude C(connection) D(data) M(multicast) S(settings) V(server) reports -y, --reportstyle C|c if set to C or c report results as CSV (comma separated values) SERVER SPECIFIC OPTIONS
-s, --server run in server mode -U, --single_udp run in single threaded UDP mode -D, --daemon run the server as a daemon CLIENT SPECIFIC OPTIONS
-b, --bandwidth n[KM] set target bandwidth to n bits/sec (default 1 Mbit/sec). This setting requires UDP (-u). -c, --client <host> run in client mode, connecting to <host> -d, --dualtest Do a bidirectional test simultaneously -n, --num n[KM] number of bytes to transmit (instead of -t) -r, --tradeoff Do a bidirectional test individually -t, --time n time in seconds to transmit for (default 10 secs) -F, --fileinput <name> input the data to be transmitted from a file -I, --stdin input the data to be transmitted from stdin -L, --listenport n port to receive bidirectional tests back on -P, --parallel n number of parallel client threads to run -T, --ttl n time-to-live, for multicast (default 1) -Z, --linux-congestion <algo> set TCP congestion control algorithm (Linux only) ENVIRONMENT
TCP_WINDOW_SIZE Controls the size of TCP buffers. DIAGNOSTICS
This section needs to be filled in. BUGS
Exit statuses are inconsistent. The threading implementation is rather heinous. AUTHORS
Iperf was originally written by Mark Gates and Alex Warshavsky. Man page and maintence by Jon Dugan <jdugan at x1024 dot net>. Other con- tributions from Ajay Tirumala, Jim Ferguson, Feng Qin, Kevin Gibbs, John Estabrook <jestabro at ncsa.uiuc.edu>, Andrew Gallatin <gallatin at gmail.com>, Stephen Hemminger <shemminger at linux-foundation.org> SEE ALSO
http://iperf.sourceforge.net/ NLANR
/DAST APRIL 2008 IPERF(1)

Check Out this Related Man Page

IPSEND(1)						      General Commands Manual							 IPSEND(1)

NAME
ipsend - sends IP packets SYNOPSIS
ipsend [ -dITUv ] [ -i <interface> ] [ -f <offset> ] [ -g <gateway> ] [ -m <MTU> ] [ -o <option> ] [ -P <protocol> ] [ -s <source> ] [ -t <dest. port> ] [ -w <window> ] <destination> [TCP-flags] DESCRIPTION
ipsend can be compiled in two ways. The first is used to send one-off packets to a destination host, using command line options to specify various attributes present in the headers. The destination must be given as the last command line option, except for when TCP flags are specified as a combination of A, S, F, U, P and R, last. The other way it may be compiled, with DOSOCKET defined, is to allow an attempt at making a TCP connection using a with ipsend resending the SYN packet as per the command line options. OPTIONS
-d enable debugging mode. -f <offset> The -f allows the IP offset field in the IP header to be set to an arbitrary value, which can be specified in decimal or hexadeci- mal. -g <gateway> Specify the hostname of the gateway through which to route packets. This is required whenever the destination host isn't directly attached to the same network as the host from which you're sending. -i <interface> Set the interface name to be the name supplied. -m <MTU> Specify the MTU to be used when sending out packets. This option allows you to set a fake MTU, allowing the simulation of network interfaces with small MTU's without setting them so. -o <option> Specify options to be included at the end of the IP header. An EOL option is automatically appended and need not be given. If an option would also have data associated with it (source as an IP# for a lsrr option), then this will not be initialised. -s <source> Set the source address in the packet to that provided - maybe either a hostname or IP#. -t <dest.port> Set the destination port for TCP/UDP packets. -w <window> Set the window size for TCP packets. -I Set the protocol to ICMP. -P <protocol> Set the protocol to the value given. If the parameter is a name, the name is looked up in the /etc/protocols file. -T Set the protocol to TCP. -U Set the protocol to UDP. -v enable verbose mode. SEE ALSO
ipresend(1), iptest(1), bpf(4), protocols(5), ipsend(5) DIAGNOSTICS
Needs to be run as root. BUGS
If you find any, please send email to me at darrenr@pobox.com IPSEND(1)
Man Page