RENICE
Section: User Commands (1)
Index
Return to Main Contents
NAME
renice - change the priority of a running program
SYNOPSIS
renice
[{+-}inc] [=prio] pid ...
DESCRIPTION
Renice
modifies the kernel's internal process table to change the 'nice' value
of the listed process IDs. The priority may be increased,
decreased, or set to an absolute number.
Only the super-user can increase the priority of a process, or change the
priority of another user's process.
OPTIONS
Giving
-inc
causes the priority to decrease by `inc'. Giving
+inc
causes the priority to increase by `inc'. Giving
=prio
causes the priority to be set to `prio'.
The changes to the priority may be re-specified between process IDs. The
default change is to add 5 to the 'niceness' of the processes (decrease its
priority by 5).
EXAMPLES
$ nroff -man -T37 renice.1 > /tmp/renice.manpage &
[1] 1234
renice 1234
-
These commands start a nroff in the background, and then change its priority
so that it will not slow down work done in the foreground. The same effect
would have resulted from typing 'nice' before the nroff command, but this
example assumes that the user 'forgot' to lower the priority until the
program was already running.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- EXAMPLES
-
This document was created by
man2html,
using the manual pages.
Time: 06:40:45 GMT, December 12, 2024