issues with kern.devstat.all

Andrey Zonov andrey at zonov.org
Mon Mar 21 21:15:40 UTC 2011


Hi,

This sysctl contains a binary data. You can see it using -o or -x 
sysctl's key.
Additional information is at devstat(3) manpage.

-- 
Andrey Zonov


20.03.2011 20:51, Alexander Best пишет:
> hi there,
>
> could somebody explain the following behavior running a recent CURRENT on amd64?
>
> otaku% sysctl kern.devstat
> kern.devstat.numdevs: 6
> kern.devstat.generation: 222
> kern.devstat.version: 6
> otaku% sysctl kern.devstat.all
> otaku% echo $?
> 0
> otaku% sysctl -d kern.devstat.all
> kern.devstat.all: All devices in the devstat list
>
> cheers.
> alex
>


More information about the freebsd-hackers mailing list