apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mads Toftum <m...@toftum.dk>
Subject Re: routines for fetching load average?
Date Wed, 11 Feb 2004 16:29:57 GMT
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

Mime
View raw message