job priority
Conor P. Cahill
cpcahil at virtech.UUCP
Tue Aug 8 12:48:25 AEST 1989
In article <20533 at adm.BRL.MIL>, SIMSN%NUSDISCS.BITNET at cunyvm.cuny.edu writes:
>
> In Sys V, is there a way you can raise the job's priority after sending
> it to the background earlier on?
There is no standard system call that can be used to modify the priority, or
nice value, of an already existing process. You can, however, using the
symbol table in /unix modify the nice value in the process structure (in /dev/kmem,
of course) for the indicated process. Unless the permissions are really
screwed up on your system, only the superuser will be able to do this.
This is not a thing to do lightly since a minor screw up in the location
to which you write the desired value can cause a kernel panic. Good luck.
More information about the Comp.unix.questions
mailing list