Examples of sysctl/sysctlbyname/sysctlnametomib?

Dag-Erling Smørgrav des at des.no
Mon Jan 21 07:11:43 PST 2008


Jeremy Chadwick <koitsu at 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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list