priority scheme under SunOS ..

Brett McCoy brtmac at maverick.ksu.ksu.edu
Tue Apr 9 03:41:17 AEST 1991


In <LUBKT.91Apr8110348 at spectrum.CC.Lehigh.EDU> lubkt at spectrum.CC.Lehigh.EDU (Binod Taterway [2]) writes:


>Is there any way one can implement a priority scheme under SunOS
>4.1.1. Say, we want to allocate some users higher default priority
>than others. Granted this can be done on a case-by-case basis, but I
>rather not if some default priority can be assigned. Not having
>priority scheme hampers execution of interactive jobs if some cpu
>intensive background job is running. I am not interested in altering
>process priority, just the scheduling priority (the ones altered by
>nice(1) and renice(1)). Any suggestions?

I wrote a daemon that watches for long running, cpu intensive programs
and automatically nices them to 19.  This keeps us from continually
having to nice these processes by hand and going and yelling at the
particular user about the finer points of nice and renice.  Don't
know if this is the type of thing you are looking for, but it works
pretty good for us.
--
Brett McCoy			Computing and Telecommunications Activities
brtmac at maverick.ksu.ksu.edu	Kansas State University
Alcohol is a calibration reference device for finding an attitude parallel
to the local horizon at ankle level.



More information about the Comp.unix.admin mailing list