From owner-freebsd-hackers Mon May 7 10:30:59 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id D3DB137B422 for ; Mon, 7 May 2001 10:30:53 -0700 (PDT) (envelope-from roam@ringworld.nanolink.com) Received: (qmail 50050 invoked by uid 1000); 7 May 2001 17:29:05 -0000 Date: Mon, 7 May 2001 20:29:05 +0300 From: Peter Pentchev To: Dag-Erling Smorgrav Cc: Sheldon Hearn , hackers@freebsd.org Subject: Re: sysctl(8) and opaque MIB entries Message-ID: <20010507202905.O39862@ringworld.oblivion.bg> Mail-Followup-To: Dag-Erling Smorgrav , Sheldon Hearn , hackers@freebsd.org References: <99353.989256023@axl.fw.uunet.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from des@ofug.org on Mon, May 07, 2001 at 07:24:39PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, May 07, 2001 at 07:24:39PM +0200, Dag-Erling Smorgrav wrote: > Sheldon Hearn writes: > > On 07 May 2001 18:51:22 +0200, Dag-Erling Smorgrav wrote: > > > Yes it will, with -X. The interesting question is why there isn't an > > > option to make it display just one variable in hex, and why it doesn't > > > print a message when it omits printing an opaque variable. > > Do you think it'd be okay to allow an argument to -a and -A that > > specifies the sysctl node from which to descend? > > Have you tried e.g. 'sysctl hw' lately? How about e.g. 'sysctl -a hw', which still shows *all* MIB's? At least on ref5 as of this very moment.. [roam@ref5:~]$ sysctl -a hw | fgrep . | cut -d. -f 1 | sort -u cshumway@ref5 debug hw jail kern machdep net p1003_1b user vfs vm [roam@ref5:~]$ (well, so my filter wasn't exact; but still, it does *not* limit the output to hw.* MIB's..) G'luck, Peter -- I had to translate this sentence into English because I could not read the original Sanskrit. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message