Subject: Re: sysctl - struct or separate mibs?
To: Simon Burge <simonb@netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-kern
Date: 06/16/2000 14:11:32
On Fri, 16 Jun 2000, Simon Burge wrote:
> For vmstat (& iostat) we need the values of tk_nin and tk_nout. Related
> values (but not used at the moment) are tk_cancc and tk_rawcc. Would it
> be better to retrieve a single "struct tkstats" that contained all four
> members or add a new node and retrieve kern.tkstat.{tk_nin,...} with
> separate sysctl calls?
If we'd ever get a sysctlfs, the latter may be better for human
readability.
- Hubert
--
NetBSD - because Unix isn't just #include <linux.h>, i386, ILP32, ELF, ...!