renice(1) DG/UX R4.11MU05 renice(1)
NAME
renice - alter priority of running processes
SYNOPSIS
/etc/renice [ priority ] [ [ -p ] pid ... ] [ [ -g ] pgrp ... ] [ [
-u ] user ... ]
/etc/renice priority pid [ pid ]
where:
priority An integer in the range -20 to +19. If you supply a number
less than -20, renice uses -20 (which puts your process at
the highest possible priority). If you supply a number
greater than 19, renice uses 19 (lowest possible priority).
In the first syntax given above, you can omit priority and
have renice assume 0 as the default. In the second form of
syntax, you must supply a priority value.
pid A process identification number.
pgrp A process group ID.
user A user name.
DESCRIPTION
Renice resets the scheduling priority of one or more running
processes. Users without appropriate privilege can reset the
priority of processes they own, but only to a higher number (lower
priority). A user with appropriate privilege can raise as well as
lower priorities. For systems supporting the DG/UX Capability
Option, appropriate privilege is defined as having one or more
specific capabilities enabled in the effective capability set of the
user. See capdefaults(5) for the default capabilities for this
command.
On systems without the DG/UX Capability Option, appropriate privilege
means that your process has an effective UID of root. See the
appropriateprivilege(5) man page for more information.
Options
-p Processes whose process ids are specified; this is the
default.
-g Processes in the specified process group.
-u Processes owned by the specified user.
Useful priorities in DG/UX are:
19 The affected processes will run only when nothing else in
the system wants to.
0 This is the "base" scheduling priority.
<0 Lower numbers make processes go faster (the lower limit is
-20).
EXAMPLE
/etc/renice -10 987 -u daemon root -p 32
Resets to -10 the priority of processes with IDs 987 and 32, and all
processes owned by users daemon and root.
/etc/renice -p 12488 12489 12490
Resets to 0 the priority of processes 12488, 12489, and 12490.
/etc/renice 19 12488 12489 12490
Resets to 19 the priority of processes 12488, 12489, and 12490.
FILES
/dgux
/etc/passwd To map user names to user ID numbers
SEE ALSO
nice(1), getpriority(2), nice(2), setpriority(2),
appropriateprivilege(5).
capdefaults(5).
NOTES
If you make the priority a very low number (such as -20), you cannot
interrupt the process. To regain control, reset the priority to a
number greater than 0.
Users without appropriate privilege cannot increase scheduling
priorities (that is, lower the priority numbers) of their own
processes, even if they are the ones who originally decreased the
priorities.
Licensed material--property of copyright holder(s)