Date: Mon, 7 May 2001 20:29:05 +0300 From: Peter Pentchev <roam@orbitel.bg> To: Dag-Erling Smorgrav <des@ofug.org> Cc: Sheldon Hearn <sheldonh@uunet.co.za>, hackers@freebsd.org Subject: Re: sysctl(8) and opaque MIB entries Message-ID: <20010507202905.O39862@ringworld.oblivion.bg> In-Reply-To: <xzp66fdm5rc.fsf@flood.ping.uio.no>; from des@ofug.org on Mon, May 07, 2001 at 07:24:39PM %2B0200 References: <99353.989256023@axl.fw.uunet.co.za> <xzp66fdm5rc.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 07, 2001 at 07:24:39PM +0200, Dag-Erling Smorgrav wrote:
> Sheldon Hearn <sheldonh@uunet.co.za> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010507202905.O39862>
