Shell Commands/ChangeTaskPri

From MorphOS Library

Revision as of 18:53, 2 March 2015 by JPV (talk | contribs) (Created page with "'''ChangeTaskPri''' - Changes the priority of the given process PR=PRIORITY/A/N, PROCESS/K/N <nowiki> PRIORITY - new priority of the process...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Shell Commands

ChangeTaskPri - Changes the priority of the given process

PR=PRIORITY/A/N, PROCESS/K/N

PRIORITY - new priority of the process                                               
PROCESS  - number of the process to change priority

The range of acceptable values for PRIORITY is the integers from -128 to 127, with higher values yielding a higher priority (a greater proportion of CPU time is allocated). However, do not enter values above +10 to avoid disrupting important system tasks.

NOTE: use the Status command to display the current process numbers.