From owner-freebsd-arch Mon Feb 24 19:54:30 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 660EE37B401 for ; Mon, 24 Feb 2003 19:54:29 -0800 (PST) Received: from espresso.bsdmike.org (espresso.bsdmike.org [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBAD843F85 for ; Mon, 24 Feb 2003 19:54:28 -0800 (PST) (envelope-from mike@espresso.bsdmike.org) Received: by espresso.bsdmike.org (Postfix, from userid 1002) id 310DD9C5F; Mon, 24 Feb 2003 22:41:54 -0500 (EST) Date: Mon, 24 Feb 2003 22:41:54 -0500 From: Mike Barcroft To: Marcel Moolenaar Cc: Garance A Drosihn , "M. Warner Losh" , arch@FreeBSD.ORG Subject: Re: Fw: Proposed new sysctl MIB nodes Message-ID: <20030224224154.F61907@espresso.bsdmike.org> References: <20030224.174742.21056478.imp@bsdimp.com> <20030225005912.GA1583@athlon.pn.xcllnt.net> <20030225021234.GA1835@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030225021234.GA1835@athlon.pn.xcllnt.net>; from marcel@xcllnt.net on Mon, Feb 24, 2003 at 06:12:34PM -0800 Organization: The FreeBSD Project Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Marcel Moolenaar writes: > Also, why a sysctl to get the total amount of memory in the box. > Isn't getrlimit a much better approach to tune process behaviour? Good point, a process may also have resource limits, so the system memory is almost irrelevant. Too bad we don't support the standardized RLIMIT_AS option for getrlimit(). Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message