]> git.lizzy.rs Git - plan9front.git/blob - sys/man/1/tput
merge
[plan9front.git] / sys / man / 1 / tput
1 .TH TPUT 1
2 .SH NAME
3 tput \- measure read throughput
4 .SH SYNOPSIS
5 .B tput
6 [
7 .B -b
8 .I buflen
9 ] [
10 .B -p
11 ]
12 .SH DESCRIPTION
13 .I Tput
14 continuously reads standard input writing throughput statistics
15 to standard error. The throughput value is calculated and written
16 once per second and automatically scaled to kilo-, mega- or gigabytes.
17 .PP
18 When the
19 .B -p
20 flag is specified,
21 .I tput
22 will write the data read to standard output (the default is to
23 discard the data).
24 .PP
25 A read blocksize (default is 8192) in bytes can be given with the
26 .B -b
27 .I buflen
28 option.
29 .SH EXAMPLE
30 .EX
31 tput </dev/zero
32 .EE
33 .SH SOURCE
34 .B /sys/src/cmd/tput.c
35 .SH SEE ALSO
36 .IR iostats (4)
37 .SH DIAGNOSTICS
38 .I Tput
39 sets error status on read error.
40 .SH HISTORY
41 .I Tput
42 first appeared in 9front (May, 2011).