[alt.sources.wanted] nicer nice

terry@pride386.UUCP (Terry Lyons) (09/13/90)

Hi ...
has anyone ever written a program that will {stop|suspend} a program if
the system load exceeds a given level ?
in other words I want to have a way of invoking a program so that if
the load-level goes over  set figure that it (the system) will ignore
the program until the load drops below a set level.
something that is invoced like this : suspnd -l7.5,9.0  awk -f (some longwinded 
program) 
is there something like this already
or is this a lost cause???
terry

-- 
**************************************************************************
*  UUNET ...!uunet!pride386!terry or ...!zardoz!pride386!terry           *
*  FAX  714 739 2203  *  WANTED: 1 fire-lizard, brown preferred          *
**************************************************************************

dag@hp-lsd.COS.HP.COM (David Geiser) (09/19/90)

Isn't a low priority job in fact suspended if there are higher
priority programs running/runable?  It shouldn't get any slices
of time in that situation.  Maybe I don't understand what you
want.