Note that specifying -b 0 disables bandwidth limits.

Documentation change only, no functional changes.

Fixes #170.

(cherry picked from commit e6fba4e8d74160db764fe1fc45ed14bd540490a6)
Signed-off-by: Bruce A. Mah <bmah@es.net>
This commit is contained in:
Bruce A. Mah 2014-08-25 13:15:06 -07:00
parent 584d0e0588
commit 93a83a3b7a
2 changed files with 3 additions and 1 deletions

View File

@ -81,6 +81,8 @@ You can also add a '/' and a number to the bandwidth specifier.
This is called "burst mode".
It will send the given number of packets without pausing, even if that
temporarily exceeds the specified bandwidth limit.
Setting the target bandwidth to 0 will disable bandwidth limits
(particularly useful for UDP tests).
.TP
.BR -t ", " --time " \fIn\fR"
time in seconds to transmit for (default 10 secs)

View File

@ -93,7 +93,7 @@ const char usage_longstr[] = "Usage: iperf [-s|-c host] [options]\n"
"Client specific:\n"
" -c, --client <host> run in client mode, connecting to <host>\n"
" -u, --udp use UDP rather than TCP\n"
" -b, --bandwidth #[KMG][/#] target bandwidth in bits/sec\n"
" -b, --bandwidth #[KMG][/#] target bandwidth in bits/sec (0 for unlimited)\n"
" (default %d Mbit/sec for UDP, unlimited for TCP)\n"
" (optional slash and packet count for burst mode)\n"
" -t, --time # time in seconds to transmit for (default %d secs)\n"