From owner-freebsd-questions@FreeBSD.ORG Sun Nov 13 04:25:28 2005 Return-Path: X-Original-To: FreeBSD-Questions@FreeBSD.org Delivered-To: FreeBSD-Questions@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FAF716A420 for ; Sun, 13 Nov 2005 04:25:28 +0000 (GMT) (envelope-from dkelly@hiwaay.net) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.FreeBSD.org (Postfix) with SMTP id 9220D43D45 for ; Sun, 13 Nov 2005 04:25:27 +0000 (GMT) (envelope-from dkelly@hiwaay.net) Received: (qmail 30997 invoked by uid 0); 13 Nov 2005 04:25:26 -0000 Received: from user-69-73-60-132.knology.net (HELO ?10.0.0.6?) (69.73.60.132) by smtp1.knology.net with SMTP; 13 Nov 2005 04:25:26 -0000 In-Reply-To: <1131765329.20279.0.camel@dracula> References: <20051112003804.GA2463@Grumpy.DynDNS.org> <1131765329.20279.0.camel@dracula> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: David Kelly Date: Sat, 12 Nov 2005 22:25:24 -0600 To: dev@unixdaemon.org X-Mailer: Apple Mail (2.746.2) Cc: FreeBSD-Questions@FreeBSD.org Subject: Re: Reading RELENG_6 kernel tunables? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2005 04:25:28 -0000 On Nov 11, 2005, at 9:15 PM, Dev Tugnait wrote: > sysctl -a; man sysctl > > On Fri, 2005-11-11 at 18:38 -0600, David Kelly wrote: >> /usr/src/sys/conf/NOTES says: >> >> # 2. In /boot/loader.conf, set the tunables kern.maxswzone, >> # kern.maxbcache, kern.maxtsiz, kern.dfldsiz, kern.maxdsiz, >> # kern.dflssiz, kern.maxssiz and kern.sgrowsiz. >> >> Is loader.conf in some sort of different world than sysctl(8)? >> Shouldn't >> I be able to at least view the current settings using sysctl? I >> understand these are things which may have to be set in stone >> before the >> kernel starts running proper. Just want to see the current value. >> >> # sysctl kern.maxssiz >> sysctl: unknown oid 'kern.maxssiz' >> >> Show how can a view the current setting and confirm my messing with >> loader.conf took hold? Been there. Done that. Read sysctl(8) before posting the first time. # sysctl -a | grep kern.maxssiz # No output. Did *you* try your suggestion before posting? sysctl(8) says: -a List all the currently available non-opaque values. This option is ignored if one or more variable names are specified on the command line. ... -o Show opaque variables (which are normally suppressed). The for- mat and length are printed, as well as a hex dump of the first sixteen bytes of the value. -a didn't do the job, and neither did -o, so I asked here. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.