Subject: bin/5241: vmstat example wrong
To: None <gnats-bugs@gnats.netbsd.org>
From: None <bgrayson@ece.utexas.edu>
List: netbsd-bugs
Date: 04/01/1998 09:51:56
>Number: 5241
>Category: bin
>Synopsis: The example vmstat -i 5 should be vmstat -w 5
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 1 08:05:00 1998
>Last-Modified:
>Originator: Brian Grayson
>Organization:
Parallel and Distributed Systems
Electrical and Computer Engineering
The University of Texas at Austin
>Release: Mar 31 98
>Environment:
NetBSD marvin 1.3E NetBSD 1.3E (MARVIN) #36: Fri Mar 27 15:28:36 CST 1998 bgrayson@marvin:/sys/arch/i386/compile/MARVIN i386
>Description:
The EXAMPLE section contains the example ``vmstat -i 5''
and states that this will print the status every 5
seconds. However, the -i option now does interrupts.
One should use the -w flag instead (see patch).
>How-To-Repeat:
>Fix:
--- vmstat.8 Wed Apr 1 09:30:24 1998
+++ vmstat.8.new Wed Apr 1 09:30:40 1998
@@ -191,7 +191,7 @@
.fi
.RE
.SH EXAMPLES
-The command ``vmstat -i 5'' will print what the system is doing every five
+The command ``vmstat -w 5'' will print what the system is doing every five
seconds; this is a good choice of printing interval since this is how often
some of the statistics are sampled in the system.
Others vary every second and running the output for a while will make it
>Audit-Trail:
>Unformatted: