7.0;ppri (process_priority), revision 7.0, 83/08/19
PPRI (PROCESS_PRIORITY) -- Set or display process priority.
usage: PPRI [process_name...] [-LO n] [-HI n] {CL}
FORMAT
PPRI [process_name...] [options]
The process priority is an integer ranging from 1 (low) to 16 (high). When
the operating system decides which process to run next, it chooses the process
that currently has the highest priority. As a process executes, its priority
increases as it waits for events (such as keyboard input) and decreases as it
computes for long periods without waiting. By default, the priority is
bounded by the range 1 through 16. The PPRI command lets you change these
bounds to any other numbers in the range of 1 to 16.
ARGUMENTS
process_name...
(optional) Specify name of process whose priority is to be set or
displayed. Multiple names and wildcarding are permitted.
Default if omitted: use current process.
OPTIONS
If no options are specified, the current priority bounds are displayed.
-LO n Set priority lower boundary. 'n' must be in the range 1-16
inclusive. If this option is omitted, the lower boundary
is set to 1.
-HI n Set priority upper boundary. 'n' must be in the range 1-16
inclusive. If this option is omitted, the upper boundary
is set to 16.
This command uses the command line parser, and so also accepts the standard
command options listed in HELP CL.
EXAMPLES
1. $ ppri Display defaults for current process
minimum_priority = 1, maximum priority = 16
2. $ ppri process_7 -lo 1 -hi 4 Restrict process_7 to low priorities
3. $ ppri -lo 12 -hi 12 Current process will always have
priority 12