Arthur Corliss wrote:
On Thu, 13 Nov 2003, Brad Lhotsky wrote:

<snip>

So I guess, two questions:

1) Anyone see this as useful?
2) Is 'Linux::ForkControl' a decent name for this module?


1) Yes.
2) I almost thing that a reverse would be better (i.e., ForkControl::Linux,
   or similar).  Your module could provide a generic interface (along with
   a working Linux implementation), and others could contribute other
   platform implementations.  I would be interested in implementations on
   AIX, IRIX, and Solaris, personally.  If I can catch a few projects up
   to date, I'd contribute the modules myself.

As an addendum, I think it would be useful to be able to differentiate between
CPU load and memory load, placing limits on both.

Hi,


I would suggest breaking it in two modules (names are unimportant here):

 - Parallel::ForkControl
 - System::Load and System::Load::<OS>

and System::Load should automatically use the adequate System::Load::<OS> module

Then, System::Load could also be used from other modules like Proc::Queue of mine.


Bye,


- Salva



Reply via email to