=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tcpbench/tcpbench.1,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- src/usr.bin/tcpbench/tcpbench.1 2020/02/12 14:46:36 1.26 +++ src/usr.bin/tcpbench/tcpbench.1 2020/05/02 22:00:29 1.27 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tcpbench.1,v 1.26 2020/02/12 14:46:36 schwarze Exp $ +.\" $OpenBSD: tcpbench.1,v 1.27 2020/05/02 22:00:29 procter Exp $ .\" .\" Copyright (c) 2008 Damien Miller .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 12 2020 $ +.Dd $Mdocdate: May 2 2020 $ .Dt TCPBENCH 1 .Os .Sh NAME @@ -65,14 +65,23 @@ .Pp Once connected, the client will send TCP or UDP traffic as fast as possible to the server. -Both the client and server will periodically display throughput -statistics along with any kernel variables the user has selected to +Both the client and server will periodically compute and display throughput +statistics. +The server starts computing these for UDP on receipt of the first datagram, +and stops for TCP when it has no connections. +This display also includes any kernel variables the user has selected to sample (using the .Fl k option, which is only available in TCP mode). A list of available kernel variables may be obtained using the .Fl l option. +.Pp +A summary over the periodic throughput statistics is displayed on exit. +Its accuracy may be increased by decreasing the +.Ar interval . +The summary bytes and duration cover the interval from transfer start +to process exit. .Pp The options are as follows: .Bl -tag -width Ds