1NICE(1) User Commands NICE(1)
2
3
4
6 nice - run a program with modified scheduling priority
7
9 nice [OPTION] [COMMAND [ARG]...]
10
12 Run COMMAND with an adjusted niceness, which affects process schedul‐
13 ing. With no COMMAND, print the current niceness. Niceness values
14 range from -20 (most favorable to the process) to 19 (least favorable
15 to the process).
16
17 Mandatory arguments to long options are mandatory for short options
18 too.
19
20 -n, --adjustment=N
21 add integer N to the niceness (default 10)
22
23 --help display this help and exit
24
25 --version
26 output version information and exit
27
28 NOTE: your shell may have its own version of nice, which usually super‐
29 sedes the version described here. Please refer to your shell's docu‐
30 mentation for details about the options it supports.
31
32 Exit status:
33 125 if the nice command itself fails
34
35 126 if COMMAND is found but cannot be invoked
36
37 127 if COMMAND cannot be found
38
39 - the exit status of COMMAND otherwise
40
42 Written by David MacKenzie.
43
45 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
46 Report any translation bugs to <https://translationproject.org/team/>
47
49 Copyright © 2023 Free Software Foundation, Inc. License GPLv3+: GNU
50 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
51 This is free software: you are free to change and redistribute it.
52 There is NO WARRANTY, to the extent permitted by law.
53
55 nice(2), renice(1)
56
57 Full documentation <https://www.gnu.org/software/coreutils/nice>
58 or available locally via: info '(coreutils) nice invocation'
59
60
61
62GNU coreutils 9.3 September 2023 NICE(1)