Date: Tue, 23 Jan 2001 22:27:00 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Peter Wemm <peter@netplex.com.au> Cc: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, Dag-Erling Smorgrav <des@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/vmstat vmstat.8 Message-ID: <Pine.BSF.4.21.0101232218070.36860-100000@besplex.bde.org> In-Reply-To: <200101231010.f0NAAL400873@mobile.wemm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 23 Jan 2001, Peter Wemm wrote: > Garrett Wollman wrote: > > <<On Mon, 22 Jan 2001 16:37:55 -0800 (PST), Dag-Erling Smorgrav <des@FreeBSD. > org> said: > > > > > Document that the -z option is equivalent to 'sysctl vm.zone'. > > > > This really shouldn't be documented (and `sysctl vm.zone' should just > > tell the user to use the correct program). > > Also, 'vmstat -M vmcore.6 -z' has just been broken. :-( Support for dead kernels has been broken in many utilities by converting to using sysctl() without keeping support for reading from kvm. The extent of the damage seems to be smaller than I thought. In ps, it seems to be limited to reading a few variables using sysctl in donlist(). In pstat, it is limited to -t and -v (and -v is disabled anyway). libkvm seems to be more careful, perhaps because it always had to handle dead kernels specially. It used to insulate utilities from most of the differences for dead kernels. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101232218070.36860-100000>