1RENICE(1)                        User Commands                       RENICE(1)
2
3
4

NAME

6       renice - alter priority of running processes
7

SYNOPSIS

9       renice [-n] priority [-g|-p|-u] identifier...
10

DESCRIPTION

12       renice alters the scheduling priority of one or more running processes.
13       The first argument is the priority value to be used. The other
14       arguments are interpreted as process IDs (by default), process group
15       IDs, user IDs, or user names. renice'ing a process group causes all
16       processes in the process group to have their scheduling priority
17       altered. renice'ing a user causes all processes owned by the user to
18       have their scheduling priority altered.
19

OPTIONS

21       -n, --priority priority
22           Specify the scheduling priority to be used for the process, process
23           group, or user. Use of the option -n or --priority is optional, but
24           when used it must be the first argument.
25
26       -g, --pgrp
27           Interpret the succeeding arguments as process group IDs.
28
29       -p, --pid
30           Interpret the succeeding arguments as process IDs (the default).
31
32       -u, --user
33           Interpret the succeeding arguments as usernames or UIDs.
34
35       -h, --help
36           Display help text and exit.
37
38       -V, --version
39           Print version and exit.
40

FILES

42       /etc/passwd
43           to map user names to user IDs
44

NOTES

46       Users other than the superuser may only alter the priority of processes
47       they own. Furthermore, an unprivileged user can only increase the "nice
48       value" (i.e., choose a lower priority) and such changes are
49       irreversible unless (since Linux 2.6.12) the user has a suitable "nice"
50       resource limit (see ulimit(1p) and getrlimit(2)).
51
52       The superuser may alter the priority of any process and set the
53       priority to any value in the range -20 to 19. Useful priorities are: 19
54       (the affected processes will run only when nothing else in the system
55       wants to), 0 (the "base" scheduling priority), anything negative (to
56       make things go very fast).
57

HISTORY

59       The renice command appeared in 4.0BSD.
60

EXAMPLES

62       The following command would change the priority of the processes with
63       PIDs 987 and 32, plus all processes owned by the users daemon and root:
64
65       renice +1 987 -u daemon root -p 32
66

SEE ALSO

68       nice(1), chrt(1), getpriority(2), setpriority(2), credentials(7),
69       sched(7)
70

REPORTING BUGS

72       For bug reports, use the issue tracker at
73       https://github.com/util-linux/util-linux/issues.
74

AVAILABILITY

76       The renice command is part of the util-linux package which can be
77       downloaded from Linux Kernel Archive
78       <https://www.kernel.org/pub/linux/utils/util-linux/>.
79
80
81
82util-linux 2.38                   2022-02-17                         RENICE(1)
Impressum