freebsd-ports/net/pload/files/patch-pload.man
J.R. Oldroyd 82f3677256 net/pload: Fix command-line args and unit display.
This patch updates the port to fix the fact that the code calls
XtAppInitialize() which eats the command-line args and so causes ps(1)
to not display them. The command-line args are now saved before and restored
after the call to XtAppInitialize().

Also, correct the display of the units of total byte counts to show as "B",
"kB", "GB" etc, rather than the imprecise/incorrect "b", "k", "G" etc.

PR:		267710
Approved by:	J.R. Oldroyd (maintainer)
2023-01-16 18:33:55 +01:00

33 lines
1.2 KiB
Groff

--- pload.man.orig 2000-02-01 07:11:24 UTC
+++ pload.man
@@ -18,7 +18,7 @@
.TH PLOAD 1 "" "January 2000"
.SH NAME
-pload \- display ppp throughput statistics in an X window
+pload \- display network interface statistics in an X window
.SH SYNOPSIS
.ta 6n
@@ -30,9 +30,9 @@ pload \- display ppp throughput statistics in an X win
[-iformat \fIfmt\fP] [-oformat \fIfmt\fP]
.SH DESCRIPTION
-The \fBpload\fP program displays information about network interface (ppp) statistics.
-Additionally, for Linux 2.2 it can display statistics for any interface that
-reports to /proc/net/dev .
+The \fBpload\fP program displays network throughput statistics in an X window
+Athena stripchart graph.
+On FreeBSD, \fBpload\fP can handle any network interface.
.SH OPTIONS
.PP
@@ -144,7 +144,7 @@ Display \fImessage\fP in the labels when offline. The
.TP 8
.B \-iformat \fIfmt\fP
Use string \fIfmt\fP for the inbound label. The \fIfmt\fP string will be displayed
-literally with the special tags %t %r and %M expanding to the interface total, current
+literally with the special tags %d %t %r and %M expanding to the interface name, interface total, current
rate, and maximum rate respectively. The default is "%t %r in".
.TP 8