Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2011 00:15:06 +0300
From:      Andrey Zonov <andrey@zonov.org>
To:        Alexander Best <arundel@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: issues with kern.devstat.all
Message-ID:  <4D87BFDA.90007@zonov.org>
In-Reply-To: <20110320175123.GA65715@freebsd.org>
References:  <20110320175123.GA65715@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D87BFDA.90007>