Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 71296 invoked from network); 11 Feb 2004 16:30:57 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Feb 2004 16:30:57 -0000 Received: (qmail 85925 invoked by uid 500); 11 Feb 2004 16:29:52 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 85851 invoked by uid 500); 11 Feb 2004 16:29:51 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 85823 invoked from network); 11 Feb 2004 16:29:51 -0000 Date: Wed, 11 Feb 2004 17:29:57 +0100 From: Mads Toftum To: Rodent of Unusual Size Cc: dev@apr.apache.org Subject: Re: routines for fetching load average? Message-ID: <20040211162957.GB4714@gw> References: <4027F709.2090405@Golux.Com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4027F709.2090405@Golux.Com> X-Mailer: mutt X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mon, Feb 09, 2004 at 04:09:29PM -0500, Rodent of Unusual Size wrote: > would anyone have any thoughts about the idea of adding an > api to obtain the system load average? i ask because i need > it for an httpd module i'm writing, and i've now got code > for linux, freebsd, os x, sunos, and t64u.. I could definetely see this being useful - two examples that comes to mind are for some rudimentary dos evasive actions and the other would be to turn off modules like mod_deflate in high load situation. Another thing that might be useful is a mem free check. vh Mads Toftum -- `Darn it, who spiked my coffee with water?!' - lwall