Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2011 00:37:09 -0400
From:      "J. Hellenthal" <jhell@DataIX.net>
To:        Alexander Best <arundel@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: issues with kern.devstat.all
Message-ID:  <alpine.BSF.2.00.1103210030040.43032@qvfongpu.qngnvk.ybpny>
In-Reply-To: <20110320175123.GA65715@freebsd.org>
References:  <20110320175123.GA65715@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, 20 Mar 2011 13:51, arundel@ wrote:
> 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
>

This is an opaque sysctl. You can use the (-o) flag to see the format 
and the first sixteen bytes or use (-x) to see the full output. There are 
plenty of these in the sysctl tree, they are just not normally conveyed 
directly to the user without the proper flags given as the output is not 
very useful to the human eye and contains to much output in any other 
format to be useful.

What this one specifically relates to IDK, maybe someone else can tune in 
for further information.

See ( sysctl -A ) for further interesting details.

-- 

  Regards,

  J. Hellenthal
  (0x89D8547E)
  JJH48-ARIN




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1103210030040.43032>