User guide
sp
sp — set priority
Modifies the priority of a process. Changing the priority of the process impacts
the behavior of the process and the rest of the system.
Syntax
sp
process_id new_priority
Arguments
process_id
Specifies the process ID (PID) of the process to be modified.
new_priority
Specifies the new priority for the process. Priority values range from 0 to 7 where
7 is the highest.
Example
>>> memtest -p 0 &
>>> ps | grep memtest
00000025 001a9700 2 23691 00000001 0 memtest ready
>>> sp 25 3
>>> ps | grep memtest
00000025 001a9700 3 125955 00000001 0 memtest ready
>>>
Raises the priority of process 25 from 2 to 3.
See Also
ps, sa
13–100 Console Commands