Looking up a sysctl oid
Tamas Szakaly
sghctoma at gmail.com
Thu Jan 16 15:00:29 UTC 2020
> What is the recomended way to understand what a sysctl oid represents?
>
> for eg. How can I find what following oid represents?
>
> dev.cpu.1.cx_usage: 18.07% 12.15% 69.76% last 1052us
>
> so far I've found info about a subset of OIDs in manuals of sysctl(3)
> and sysctl(8), also in src/sysctl.h, but no method to lookup
> documentaion particular for an oid.
>
> Thanks,
> dbalan
"sysctl -d" gives you the description for the oid:
$ sysctl -d dev.cpu.1.cx_usage
dev.cpu.1.cx_usage: percent usage for each Cx state
Cheers,
Toma
More information about the freebsd-questions
mailing list