On Jan 26, 2006, at 21:55, Peter Eisch wrote:
On 1/26/06 10:42 PM, "Robert Spier" <[EMAIL PROTECTED]> wrote:
I'm sure there is a module that
someone has written that abstracts this all away.
Sorry for the text inline, I'm somewhat encumbered at the moment:
#!/usr/bin/perl
=head1 NAME
loadcheck
=head1 DESCRIPTION
Only takes email transactions if the system load is at or below a
specified level.
I thought this would be neat enough to have in the distribution.
For forkserver it'd be useful if it would cache the value for a few
seconds (10?) and as others suggested then supporting reading /proc
would be useful as well.
- ask