Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2008 16:11:34 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Jeremy Chadwick <koitsu@FreeBSD.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Examples of sysctl/sysctlbyname/sysctlnametomib?
Message-ID:  <86ve5nmcwp.fsf@ds4.des.no>
In-Reply-To: <20080114132440.GA71321@eos.sc1.parodius.com> (Jeremy Chadwick's message of "Mon\, 14 Jan 2008 05\:24\:40 -0800")
References:  <20080114132440.GA71321@eos.sc1.parodius.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Chadwick <koitsu@FreeBSD.org> writes:
> Does anyone know of some documentation which would help explain how to
> walk the sysctl MIB tree for such things as dev.cpu?

This is intentionally undocumented, but you can find a fairly readable
code example in sysctl(1).  It is also well documented in code comments
in the kernel.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ve5nmcwp.fsf>