diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-07-05 14:52:38 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-07-05 14:52:38 +0200 |
commit | 7c197c8e730a3040d9718f9d2c3ad5f44a988a57 (patch) | |
tree | c63e6e32d545e2c04a8b55f8842193c1888b26d6 /sys/man/1/tput | |
parent | acce478d8ee70ead531a0a49d69404b0652cccf6 (diff) |
tput(1) manpage, add -b buflen option, exit status
Diffstat (limited to 'sys/man/1/tput')
-rw-r--r-- | sys/man/1/tput | 39 |
1 files changed, 39 insertions, 0 deletions
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 </dev/zero +.EE +.SH SOURCE +.B /sys/src/cmd/tput.c +.SH SEE ALSO +.IR iostats (4) +.SH DIAGNOSTICS +.I Tput +sets error status on read error. |