On Fri, 30 Mar 2001 [EMAIL PROTECTED] wrote:
[...]
> 1) Every few seconds get the average system load, in
> terms of how many CPUs would be required to run every
> active process at full speed;
> 
> 2) If the load exceeds the available number of CPUs,
> suspend the user program, but keep everything in main
> memory; otherwise, keep running.
> 
> Any such scheme, in order to be practical, would have
> to be executable without superuser privileges.


   Try loadwatch. There's a package for it on Debian called...
loadwatch. I don't know of a similar package for Solaris but you can get
a loadwatch clone that I wrote based on source code by G. Garonni. It's
called loadwatcher and you can get the source code on my home page. I
tested it on Solaris so it should pretty much compile an run just fine.

   http://fgouget.free.fr/distributed/index-en.shtml#h3

--
Francois Gouget         [EMAIL PROTECTED]        http://fgouget.free.fr/
           Cahn's Axiom: When all else fails, read the instructions.

_________________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ      -- http://www.tasam.com/~lrwiman/FAQ-mers

Reply via email to