=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tcpbench/tcpbench.1,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/tcpbench/tcpbench.1 2008/05/09 00:54:07 1.1 +++ src/usr.bin/tcpbench/tcpbench.1 2008/05/09 09:01:23 1.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tcpbench.1,v 1.1 2008/05/09 00:54:07 djm Exp $ +.\" $OpenBSD: tcpbench.1,v 1.2 2008/05/09 09:01:23 jmc Exp $ .\" .\" Copyright (c) 2008 Damien Miller .\" @@ -25,19 +25,19 @@ .Fl l .Nm .Op Fl v +.Op Fl B Ar buf .Op Fl k Ar kvars .Op Fl p Ar port .Op Fl r Ar rate -.Op Fl B Ar buf .Op Fl S Ar space .Ar hostname .Nm .Fl s .Op Fl v +.Op Fl B Ar buf .Op Fl k Ar kvars .Op Fl p Ar port .Op Fl r Ar rate -.Op Fl B Ar buf .Op Fl S Ar space .Sh DESCRIPTION .Nm @@ -66,32 +66,32 @@ .Pp The options are as follows: .Bl -tag -width Ds -.It Fl B +.It Fl B Ar buf Specify the size of the internal write buffer used by .Nm . -.It Fl l -List the name of kernel variables available for monitoring and exit. .It Fl k Ar kvars -Specify one or more kernel variables to monitor; multiple variables must be +Specify one or more kernel variables to monitor; multiple variables must be separated with commas. The default is not to monitor any variables. +.It Fl l +List the name of kernel variables available for monitoring and exit. .It Fl p Ar port Specify the port used for the TCP test stream (default: 12345). +.It Fl r Ar rate +Specify the statistics reporting rate in milliseconds (default: 1000). +.It Fl S Ar space +Set the size of the socket buffer used for the TCP test stream. +On the client this option will resize the send buffer; +on the server it will resize the receive buffer. .It Fl s Place .Nm in server mode, where it will listen on all interfaces for incoming connections. -.It Fl r Ar rate -Specify the statistics reporting rate in milliseconds (default: 1000). -.It Fl S Ar space -Set the size of the socket buffer used for the TCP test stream. -On the client this option will resize the send buffer, on the server -it will resize the receive buffer. .It Fl v Display verbose output. If specified more than once, increase the detail of information displayed. .El .Sh SEE ALSO -.Xr netstat 1 +.Xr netstat 1 , .Xr pstat 8