TACL Reference Manual

UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual429513-018
8-20
ALTPRI Command
ALTPRI Command
Use the ALTPRI command to change the execution priority of a process or process
pair.
\node-name
is the system where the process resides.
$process-name
is the name of the process or process pair.
cpu,pin
is the CPU number and process identification number for the process.
pri
is the new execution priority of the process. It is an integer in the range from 1
through 199 (1 is lowest priority).
Considerations
If you do not specify a process, ALTPRI changes the priority of the default process.
The default process is the process that was last started by the current TACL or for
which TACL most recently paused, if that process still exists. To determine the default
process, use the #PROCESS Built-In Function on page 9-292.
The super ID can change the priority of any process in the system.
A group manager can alter the priority of any process whose process accessor ID
matches any user ID in the group.
Users other than group managers can change the priority of only those processes
whose process accessor IDs match their user ID. (For a description of process
accessor IDs and creator accessor IDs, see the Guardian User’s Guide.)
Before increasing the priority of a process, carefully consider the effect the change
might have on system performance. For example, assigning a high priority to
processes with a large amount of CPU activity, such as those involving lengthy
arithmetic computations, can significantly degrade system performance.
Example
Assume that a process named $SLOW is currently running with an execution priority of
110. You can raise the execution priority of $SLOW to 140 by entering:
12> ALTPRI $SLOW, 140
ALTPRI [\node-name.]{$process-name | cpu,pin } , pri