Program to renice jobs

Paul de Bra wsinpdb at svin02.info.win.tue.nl
Sat Oct 20 02:08:25 AEST 1990


In article <1990Oct19.094659 at granada.mit.edu> andrew at granada.mit.edu (Andrew Gunstensen) writes:
>Is there a good method of renicing jobs automatically once they
>have exceeded some CPU time limit?

Funny, while i worked at the univ of Antwerp, our Gould system
with Utx/32, which was based on BSD4.2, had this built into the kernel.
All jobs would automatically be niced after using some amount of
cpu-time.

I presume other manufacturers took that code out because more and more
programs legitimately use a lot of cpu-time (nfs deamons, X-server,
GNU-emacs, etc)

Maybe it's still in the source code, albeit commented out.
Then you can go look for it and put it in again. But as far as i know
there is no code to allow for exceptions, unless owned by root.

Paul.
(debra at research.att.com)



More information about the Comp.unix.admin mailing list