Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ renice(1-ucb) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

priocntl(1)

renice(1-ucb)           (BSD Compatibility Package)           renice(1-ucb)

NAME
     renice - alter priority of running processes

SYNOPSIS
     /usr/ucb/renice priority pid ...

     /usr/ucb/renice priority [-p pid ...] [-g pgrp ...] [-u username ...]

DESCRIPTION
     The renice command alters the scheduling priority of one or more run-
     ning processes. By default, the processes to be affected are specified
     by their process IDs. priority is the new priority value.

OPTIONS
     -p pid ...   Specify a list of process IDs.

     -g pgrp ...  Specify a list of process group IDs. The processes in the
                  specified process groups have their scheduling priority
                  altered.

     -u user ...  Specify a list of user IDs or user names. All processes
                  owned by each user have their scheduling altered.

     Users other than the privileged user may only alter the priority of
     processes they own, and can only monotonically increase their "nice
     value" within the range 0 to 20. This prevents overriding administra-
     tive fiats. The privileged user may alter the priority of any process
     and set the priority to any value in the range -20 to 20. Useful
     priorities are: 19 (the affected processes will run only when nothing
     else in the system wants to), 0 (the "base" scheduling priority) and
     any negative value (to make things go very fast).

     If only the priority is specified, the current process (alternatively,
     process group or user) is used.

NOTES
     If you make the priority very negative, then the process cannot be
     interrupted.

     To regain control you must make the priority greater than zero.

     Users other than the privileged user cannot increase scheduling prior-
     ities of their own processes, even if they were the ones that
     decreased the priorities in the first place.

     The priocntl command subsumes the function of renice.









Page 1                       Reliant UNIX 5.44                Printed 11/98

renice(1-ucb)           (BSD Compatibility Package)           renice(1-ucb)

FILES
     /etc/passwd
          map user names to user ID's

SEE ALSO
     priocntl(1).
















































Page 2                       Reliant UNIX 5.44                Printed 11/98

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