From owner-freebsd-hackers Mon May 7 10:57:24 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 6FA9E37B424 for ; Mon, 7 May 2001 10:57:20 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 54602 invoked by uid 1000); 7 May 2001 17:55:32 -0000 Date: Mon, 7 May 2001 20:55:32 +0300 From: Peter Pentchev To: Dag-Erling Smorgrav Cc: Sheldon Hearn , hackers@freebsd.org Subject: Re: sysctl(8) and opaque MIB entries Message-ID: <20010507205532.A54552@ringworld.oblivion.bg> Mail-Followup-To: Dag-Erling Smorgrav , Sheldon Hearn , hackers@freebsd.org References: <99353.989256023@axl.fw.uunet.co.za> <20010507202905.O39862@ringworld.oblivion.bg> 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:52:15PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, May 07, 2001 at 07:52:15PM +0200, Dag-Erling Smorgrav wrote: > Peter Pentchev 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