summaryrefslogtreecommitdiffstats
path: root/man/nice.1
blob: 2aa8a46b77e89dda3bc348c23e9deb30a9a9d1cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.48.5.
.TH NICE "1" "August 2023" "GNU coreutils 9.4" "User Commands"
.SH NAME
nice \- run a program with modified scheduling priority
.SH SYNOPSIS
.B nice
[\fI\,OPTION\/\fR] [\fI\,COMMAND \/\fR[\fI\,ARG\/\fR]...]
.SH DESCRIPTION
.\" Add any additional description here
.PP
Run COMMAND with an adjusted niceness, which affects process scheduling.
With no COMMAND, print the current niceness.  Niceness values range from
\fB\-20\fR (most favorable to the process) to 19 (least favorable to the process).
.PP
Mandatory arguments to long options are mandatory for short options too.
.TP
\fB\-n\fR, \fB\-\-adjustment\fR=\fI\,N\/\fR
add integer N to the niceness (default 10)
.TP
\fB\-\-help\fR
display this help and exit
.TP
\fB\-\-version\fR
output version information and exit
.PP
NOTE: your shell may have its own version of nice, which usually supersedes
the version described here.  Please refer to your shell's documentation
for details about the options it supports.
.SS "Exit status:"
.TP
125
if the nice command itself fails
.TP
126
if COMMAND is found but cannot be invoked
.TP
127
if COMMAND cannot be found
.TP
\-
the exit status of COMMAND otherwise
.SH AUTHOR
Written by David MacKenzie.
.SH "REPORTING BUGS"
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
.br
Report any translation bugs to <https://translationproject.org/team/>
.SH COPYRIGHT
Copyright \(co 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
\fBnice\fP(2), \fBrenice\fP(1)
.PP
.br
Full documentation <https://www.gnu.org/software/coreutils/nice>
.br
or available locally via: info \(aq(coreutils) nice invocation\(aq