]> git.ipfire.org Git - thirdparty/util-linux.git/blame - sys-utils/renice.1.adoc
Asciidoc: Add Po4a hint to file headers
[thirdparty/util-linux.git] / sys-utils / renice.1.adoc
CommitLineData
295b3979 1//po4a: entry man manual
14179682
MB
2////
3Copyright (c) 1983, 1991, 1993
4 The Regents of the University of California. All rights reserved.
5
6Redistribution and use in source and binary forms, with or without
7modification, are permitted provided that the following conditions
8are met:
91. Redistributions of source code must retain the above copyright
10 notice, this list of conditions and the following disclaimer.
112. Redistributions in binary form must reproduce the above copyright
12 notice, this list of conditions and the following disclaimer in the
13 documentation and/or other materials provided with the distribution.
143. All advertising materials mentioning features or use of this software
15 must display the following acknowledgement:
16 This product includes software developed by the University of
17 California, Berkeley and its contributors.
184. Neither the name of the University nor the names of its contributors
19 may be used to endorse or promote products derived from this software
20 without specific prior written permission.
21
22THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32SUCH DAMAGE.
33
34 @(#)renice.8 8.1 (Berkeley) 6/9/93
35////
36= renice(1)
37:doctype: manpage
38:man manual: User commands
39:man source: util-linux {release-version}
40:page-layout: base
41:command: renice
42
43== NAME
44
45renice - alter priority of running processes
46
47== SYNOPSIS
48
49*renice* [*-n*] _priority_ [*-g*|*-p*|*-u*] _identifier_...
50
51== DESCRIPTION
52
53*renice* alters the scheduling priority of one or more running processes. The first argument is the _priority_ value to be used. The other arguments are interpreted as process IDs (by default), process group IDs, user IDs, or user names. *renice*'ing a process group causes all processes in the process group to have their scheduling priority altered. *renice*'ing a user causes all processes owned by the user to have their scheduling priority altered.
54
55== OPTIONS
56
57*-n*, *--priority* _priority_::
58 Specify the scheduling _priority_ to be used for the process, process group, or user. Use of the option *-n* or *--priority* is optional, but when used it must be the first argument.
59
60*-g*, *--pgrp*::
61 Interpret the succeeding arguments as process group IDs.
62
63*-p*, *--pid*::
64 Interpret the succeeding arguments as process IDs (the default).
65
66*-u*, *--user*::
67 Interpret the succeeding arguments as usernames or UIDs.
68
69*-V*, *--version*::
70 Display version information and exit.
71
72*-h*, *--help*::
73 Display help text and exit.
74
75== FILES
76
77_/etc/passwd_::
78 to map user names to user IDs
79
80== NOTES
81
82Users other than the superuser may only alter the priority of processes they own. Furthermore, an unprivileged user can only _increase_ the "nice value" (i.e., choose a lower priority) and such changes are irreversible unless (since Linux 2.6.12) the user has a suitable "nice" resource limit (see *ulimit*(1p) and *getrlimit*(2)).
83
84The superuser may alter the priority of any process and set the priority to any value in the range -20 to 19. Useful priorities are: 19 (the affected processes will run only when nothing else in the system wants to), 0 (the "base" scheduling priority), anything negative (to make things go very fast).
85
86== HISTORY
87
88The *renice* command appeared in 4.0BSD.
89
90== EXAMPLES
91
92The following command would change the priority of the processes with PIDs 987 and 32, plus all processes owned by the users daemon and root:
93
94*renice +1 987 -u daemon root -p 32*
95
96== SEE ALSO
97
98*nice*(1),
99*chrt*(1),
100*getpriority*(2),
101*setpriority*(2),
102*credentials*(7),
103*sched*(7)
104
105include::../man-common/bugreports.adoc[]
106
107include::../man-common/footer.adoc[]
108
109ifdef::translation[]
110include::../man-common/translation.adoc[]
111endif::[]