Date: Fri, 23 Nov 2001 05:43:28 +1300 From: Joerg Micheel <joerg@cs.waikato.ac.nz> To: Harti Brandt <brandt@fokus.gmd.de> Cc: Mike Meyer <mwm@mired.org>, freebsd-hackers@freebsd.org Subject: Re: sysctls for hardware monitoring? Message-ID: <20011123054328.A8944@cs.waikato.ac.nz> In-Reply-To: <20011122120233.B2946-100000@beagle.fokus.gmd.de>; from brandt@fokus.gmd.de on Thu, Nov 22, 2001 at 12:08:16PM %2B0100 References: <15356.54999.36663.125374@guru.mired.org> <20011122120233.B2946-100000@beagle.fokus.gmd.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 22, 2001 at 12:08:16PM +0100, Harti Brandt wrote: > It's just annoying to need a special program to get at the values. For > some parts of the MIB, like the interface MIB, even sysctl doesn't help - > you need to write a program to look at these. I still think, its easier to > read the fan speed by cat(1)-ing a file, than to fire up a special > program for this. It really is user convenience against kernel bloat. I have a Linux device driver which tries to provice a /proc entry. The amount of printf() style crap in there is really disgusting and it does not even report half of what it should. I've long ago decided that for anything other than the trivial case a binary interface is the only way one can deal with these situations. It is unfortunate for the few of us who like Plan9, but how big a bitter pill are you prepared to swallow. Joerg -- Joerg B. Micheel Email: <joerg@cs.waikato.ac.nz> WAND and NLANR MOAT Email: <joerg@nlanr.net> The University of Waikato, CompScience Phone: +64 7 8384794 Private Bag 3105 Fax: +64 7 8585095 Hamilton, New Zealand Plan: PMA, TINE and the DAG's To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011123054328.A8944>