From 7c197c8e730a3040d9718f9d2c3ad5f44a988a57 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Thu, 5 Jul 2012 14:52:38 +0200 Subject: tput(1) manpage, add -b buflen option, exit status --- sys/man/1/tput | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 sys/man/1/tput (limited to 'sys/man/1/tput') diff --git a/sys/man/1/tput b/sys/man/1/tput new file mode 100644 index 000000000..6828a56b6 --- /dev/null +++ b/sys/man/1/tput @@ -0,0 +1,39 @@ +.TH TPUT 1 +.SH NAME +tput \- measure read throughput +.SH SYNOPSIS +.B tput +[ +.B -b +.I buflen +] [ +.B -p +] +.SH DESCRIPTION +.I Tput +continuously reads standard input writing throughput statistics +to standard error. The throughput value is calculated and written +once per second and automatically scaled to kilo-, mega- or gigabytes. +.PP +When the +.B -p +flag is specified, +.I tput +will write the data read to standard output (the default is to +discard the data). +.PP +A read blocksize (default is 8192) in bytes can be given with the +.B -b +.I buflen +option. +.SH EXAMPLE +.EX +tput