TPUT(1)TPUT(1)
NAME
tput – measure read throughput
SYNOPSIS
tput
[
-b
buflen
] [
-p
]
DESCRIPTION
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.
When the
-p
flag is specified,
tput
will write the data read to standard output (the default is to
discard the data).
A read blocksize (default is 8192) in bytes can be given with the
-b
buflen
option.
EXAMPLE
tput </dev/zero
SOURCE
/sys/src/cmd/tput.c
SEE
iostats(4)
DIAGNOSTICS
Tput
sets error status on read error.
HISTORY
Tput
first appeared in 9front (May, 2011).