From owner-freebsd-doc Wed Jun 30 13:28: 9 1999 Delivered-To: freebsd-doc@freebsd.org Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (Postfix) with ESMTP id 89A2215660 for ; Wed, 30 Jun 1999 13:27:56 -0700 (PDT) (envelope-from nik@nothing-going-on.demon.co.uk) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.9.3/8.9.2) id UAA72164; Wed, 30 Jun 1999 20:46:02 +0100 (BST) (envelope-from nik) Date: Wed, 30 Jun 1999 20:46:01 +0100 From: Nik Clayton To: Jesus Monroy Cc: doc@freebsd.org Subject: Re: pstat -k; pstat -n Message-ID: <19990630204601.B68144@catkin.nothing-going-on.org> References: <19990629195146.16016.qmail@nwcst285.netaddress.usa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990629195146.16016.qmail@nwcst285.netaddress.usa.net>; from Jesus Monroy on Tue, Jun 29, 1999 at 12:51:45PM -0700 Organization: Nik at home, where there's nothing going on Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jun 29, 1999 at 12:51:45PM -0700, Jesus Monroy wrote: > Both options for pstat(8) seem not > to function. Either option will return: > > vidi: {121} pstat -k > usage: pstat [-Tfknstv] [-M core] [-N system] > vidi: {122} pstat -n > usage: pstat [-Tfknstv] [-M core] [-N system] Right, but wrong. Both of those options should be run in conjunction with other options, as my cursory reading of the man page makes clear. Perhaps you skipped it in your haste to point out non-existant flaws? Specifically; # echo $BLOCKSIZE BLOCKSIZE: Undefined variable # pstat -s Device 512-blocks Used Avail Capacity Type /dev/da0s1b 262144 61760 200128 24% Interleaved /dev/da1s1b 262144 57992 203896 22% Interleaved Total 523776 119752 404024 23% # pstat -sk Device 1K-blocks Used Avail Capacity Type /dev/da0s1b 131072 30880 100064 24% Interleaved /dev/da1s1b 131072 28996 101948 22% Interleaved Total 261888 59876 202012 23% As you can see, in the second example -k has caused the output to be reported in kilobyte blocks and not 512 byte blocks. -n works in a similar fashion. > As a seperate question, I see this quite often. Perhaps not as often as you think. > What is the issue? Aren't the writers of > these utils making changes to the man pages? Yes they are, by and large. Sometimes they forget, and we try and remind them. Reading the cvs-all mailing list for any length of time should show this. > Are they supposed to make the changes? Yes. > If not, who is responsible for these changes? People that notice problems. Either by sending a PR, or, if they're a committer themselves, taking it up with the last person to change that utility, confirming that it was an oversight, and fixing the problem. N -- [intentional self-reference] can be easily accommodated using a blessed, non-self-referential dummy head-node whose own object destructor severs the links. -- Tom Christiansen in <375143b5@cs.colorado.edu> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message