renice(1) DG/UX 4.30 renice(1)
NAME
renice - alter priority of running processes
SYNOPSIS
/etc/renice [ priority ] [ [ -p ] pid ... ] [ [ -g ] pgrp
... ] [ [ -u ] user ... ]
/etc/renice priority pid [ pid ]
DESCRIPTION
Renice resets the scheduling priority of one or more running
processes. Users other than superuser can reset the
priority of processes they own, but only to a higher number
(lower priority). The superuser can raise as well as lower
priorities.
Arguments are:
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.
Options are:
-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 Low numbers make processes go very fast (the lower
limit is -20)
Licensed material--property of copyright holder(s) Page 1
renice(1) DG/UX 4.30 renice(1)
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).
BUGS
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.
Non-superusers 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) Page 2