lubkt@spectrum.CC.Lehigh.EDU (Binod Taterway [2]) (04/08/91)
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? -- Binod Taterway Sr. User Consultant | lubkt@spectrum.CC.Lehigh.EDU Lehigh University Computing Center | bt00@lehigh.BITNET Bethlehem, PA 18015 | (215) 758-3984
brtmac@maverick.ksu.ksu.edu (Brett McCoy) (04/09/91)
In <LUBKT.91Apr8110348@spectrum.CC.Lehigh.EDU> lubkt@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@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.