[LUNI] Scheduling question in 2.4/2.6
mknoop at uic.edu
Tue Apr 13 10:36:14 CDT 2004
renice will alter the priority of a running process.
For setiathome I use this line in my crontab
0 * * * * cd /home/mikek/setiathome; setiathome -nice 19 > /dev/null 2>
It tries to start setiathome every hour. If it is already running nothing
happens, otherwise is starts it with nice level 19 (lowest priority =
highest nice level).
At 10:19 PM 4/11/04 -0500, you wrote:
>Does anyone know of a way to fix the priority (vs. nice
>level) of a process, either from w/in the proc or externally?
>One example is Solaris' scheduling table, where the scheduling
>level can be fixed by returning the job to its original sched
>value at the end of a task.
>Idea is to take something like setiathome and fix its
>priority at, say, 20. The only way the job will get any
>CPU at all is if there is nothing else runnable -- it
>becomes essentially an idle task.
>Steven Lembark 2930 W. Palmer
>Workhorse Computing Chicago, IL 60647
> +1 888 359 3508
>Linux Users Of Northern Illinois - Technical Discussion
More information about the luni