[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-bugs
Subject:    docs/3709: manpage vmstat.8 has some problems
From:       Takahiro Yugawa <yugawa () orleans ! rim ! or ! jp>
Date:       1997-05-29 6:44:45
[Download RAW message or body]


> Number:         3709
> Category:       docs
> Synopsis:       manpage vmstat.8 has some problems
> Confidential:   no
> Severity:       non-critical
> Priority:       low
> Responsible:    freebsd-bugs
> State:          open
> Class:          doc-bug
> Submitter-Id:   current-users
> Arrival-Date:   Thu May 29 06:20:01 PDT 1997
> Last-Modified:
> Originator:     Takahiro Yugawa
> Organization:
personal FreeBSD user in Japan
> Release:        FreeBSD 2.2.1-RELEASE i386
> Environment:
FreeBSD oleo 2.2.1-RELEASE FreeBSD 2.2.1-RELEASE #0: Sat May 10 13:56:54 JST 1997     \
root@oleo:/usr/src/sys/compile/OLEO  i386

> Description:
	There are 3 problems in vmstat.8 manual page.

	1. The -f and -t flags of vmstat have been obsoleted and 
	'.Sh DESCRIPTION' for these options are commented out.
	But '.Sh SYNOPSIS' still has these options.
	
	2. '.Sh SYNOPSIS' part is formatted like
-----
SYNOPSIS
     vmstat [-fimst] [-c count] [-M -core] [-N -system] [-w -wait] [disks]
-----
	but it should be
-----
SYNOPSIS
     vmstat [-fimst] [-c count] [-M core] [-N system] [-w wait] [disks]
-----
	There should be no leading ``-'' for core, system, and wait.

	3. The last part of vmstat.8 has '.SH BUGS' but it must be
	'.Sh BUGS'

> How-To-Repeat:
	% man vmstat

> Fix:
	Here's an unified diff for /usr/src/usr.bin/vmstat/vmstat.8.

--- vmstat.8.orig	Thu Jan  9 15:50:34 1997
+++ vmstat.8	Thu May 29 10:17:02 1997
@@ -39,11 +39,12 @@
 .Nd report virtual memory statistics
 .Sh SYNOPSIS
 .Nm vmstat
-.Op Fl fimst
+.\" .Op Fl fimst
+.Op Fl ims
 .Op Fl c Ar count
-.Op Fl M core
-.Op Fl N system
-.Op Fl w wait
+.Op Fl M Ar core
+.Op Fl N Ar system
+.Op Fl w Ar wait
 .Op Ar disks
 .Sh DESCRIPTION
 .Nm Vmstat
@@ -211,7 +212,7 @@
 .Pp
 The sections starting with ``Interpreting system activity'' in
 .%T "Installing and Operating 4.3BSD" .
-.SH BUGS
+.Sh BUGS
 The 
 .Fl c
 and
> Audit-Trail:
> Unformatted:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic