Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ppri — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

7.0;ppri (process priority), revision 7.0, 83/08/19
PPRI (PROCESS_PRIORITY) -- Set or display process priority.
usage:  PPRI [process_name...] [-LOw <n>] [-HIgh <n>]   {CL}


FORMAT

  PPRI [process_name...] [options]


  The priority of a process is an integer ranging from 1 (low) to 16 (high).
  When AEGIS 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.  The
  priority, however, is bounded by two numbers that represent the lowest
  and highest assignable to that process.  The default bounds are 1 and 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.

  PPRI 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


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026