Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2001 20:55:32 +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:  <20010507205532.A54552@ringworld.oblivion.bg>
In-Reply-To: <xzp1yq1m4hc.fsf@flood.ping.uio.no>; from des@ofug.org on Mon, May 07, 2001 at 07:52:15PM %2B0200
References:  <99353.989256023@axl.fw.uunet.co.za> <xzp66fdm5rc.fsf@flood.ping.uio.no> <20010507202905.O39862@ringworld.oblivion.bg> <xzp1yq1m4hc.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 07, 2001 at 07:52:15PM +0200, Dag-Erling Smorgrav wrote:
> Peter Pentchev <roam@orbitel.bg> writes:
> > How about e.g. 'sysctl -a hw', which still shows *all* MIB's?
> > At least on ref5 as of this very moment..
> 
> Yes, because '-a' means 'show all non-opaque' and 'hw' is ignored.

OK, so I slipped up; so how about this:

[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 ~]$ sysctl -X hw | fgrep . | sed 's/\..*//' | sort -u
    cshumway@ref5
debug
hw
jail
kern
machdep
net
p1003_1b
user
vfs
vm
[roam@ref5 ~]$

G'luck,
Peter

-- 
What would this sentence be like if pi were 3?

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?20010507205532.A54552>