[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: intent to package loadwatch



--On Fri, Nov 13, 1998 9:47 am -0500 "Dale E. Martin"
<dmartin@clifton-labs.com> wrote: 

> Hi.  A couple of friends of mine wrote a simple utility called "loadwatch"
> that I'm going to package for debian.  What it does is spawns another
> program as a child process, and only allows the child to run if the
> system's load is less than a certain setpoint that you set at run time.
> When the load goes above that setpoint, it sends a SIGSTOP to the child,
> and when the load drops below a separate threshold, it continues the
child.
> 
> I have used this utility for things like rc5des and mp3 conversion, to
make
> these non-essential and cpu hogging activities have _zero_ impact on
> interactive and/or real work, unlike simply "nicing" a program, and it
> works quite well.

Hmmm...

sounds quite useful.   But doesn't setting a CPU limit with rlimit and
friends do essentially the same job?

Jules

/----------------+-------------------------------+---------------------\
|  Jelibean aka  | jules@jellybean.co.uk         |  6 Evelyn Rd        |
|  Jules aka     | jules@debian.org              |  Richmond, Surrey   |
|  Julian Bean   | jmlb2@hermes.cam.ac.uk        |  TW9 2TF *UK*       |
+----------------+-------------------------------+---------------------+
|  War doesn't demonstrate who's right... just who's left.             |
|  When privacy is outlawed... only the outlaws have privacy.          |
\----------------------------------------------------------------------/



Reply to: