Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ppri — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

8.2;ppri (process_priority), revision 8.2, 85/05/08
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 3 through 14 when a process is created.  The PPRI command
  lets you change these bounds to any other numbers in the range of 1 to 16.

  A forked process inherits the priority settings of its parent process.


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 3.

  -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 14.

  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
       MY_SHELL: minimum_priority = 3, maximum priority = 14

    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