SETPR
Set Process Priority
SETPR
&replstart;procID&replend;
&replstart;number&replend;
Description
This command changes the CPU priority of a process. It may only be
used with a process having the user's ID. The process number is a
decimal number in the range of 1 (lowest) to 255. The "procs"
command can be used to obtain process ID numbers and present priority.
NOTE: This command does not appear in the CMDS directory as it is
built-in to the SHELL.
For more information see: 5.1, PROCS
Examples
setpr 8 250 (change process #8 priority to 250)
OS9: procs
User # Id pty state Mem Primary module
----- --- --- -------- --- --------------
0 3 0 waiting 2 Shell <TERM
0 2 0 waiting 2 Shell <TERM
0 1 0 waiting 1 Sysgo <TERM
OS9: setpr 3 128
OS9: procs
User # Id pty state Mem Primary module
----- --- --- -------- --- --------------
0 3 128 active 2 Shell <TERM
0 2 0 waiting 2 Shell <TERM
0 1 0 waiting 1 Sysgo <TERM