```

     TPUT(1)                                                   TPUT(1)

     NAME
          tput - measure read throughput

     SYNOPSIS
          tput [ -pw ] [ -b buflen ]

     DESCRIPTION
          Tput continuously reads standard input writing throughput
          statistics to standard error. The throughput value is calcu-
          lated and written once per second and automatically scaled
          to kilo-, mega- or gigabytes.

          By default, tput will print the average throughput since the
          stream has started.  When passed the -w flag, tput will
          print the throughput over the last 1 second window.

          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 the iounit(2) of file-
          descriptor) in bytes can be given with the -b buflen option.

     EXAMPLE
          tput </dev/zero

     SOURCE
          /sys/src/cmd/tput.c

     SEE ALSO
          iostats(4), iounit(2)

     DIAGNOSTICS
          Tput sets error status on read error.

     HISTORY
          Tput first appeared in 9front (May, 2011).

```
