ref: d20bb0fcd322e5f690f0ae5f35758845680a1560
parent: 42d7047c90fd82eec095dde5816032845adb222b
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Jan 4 12:11:50 EST 2026
tput(1): document '-w' flag
--- a/sys/man/1/tput
+++ b/sys/man/1/tput
@@ -4,10 +4,11 @@
.SH SYNOPSIS
.B tput
[
+.B -pw
+]
+[
.B -b
.I buflen
-] [
-.B -p
]
.SH DESCRIPTION
.I Tput
@@ -14,6 +15,13 @@
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
+By default, tput will print the average throughput since the
+stream has started.
+When passed the
+.B -w
+flag,
+tput will print the throughput over the last 1 second window.
.PP
When the
.B -p
--
⑨