55 lines
1.0 KiB
Groff
55 lines
1.0 KiB
Groff
'\"macro stdmacro
|
|
.if n .pH g1.nice @(#)nice 30.2 of 12/25/85
|
|
.nr X
|
|
.if \nX=0 .ds x} NICE 1 "User Environment Utilities" "\&"
|
|
.if \nX=1 .ds x} NICE 1 "User Environment Utilities"
|
|
.if \nX=2 .ds x} NICE 1 "" "\&"
|
|
.if \nX=3 .ds x} NICE "" "" "\&"
|
|
.TH \*(x}
|
|
.SH NAME
|
|
nice \- run a command at low priority
|
|
.SH SYNOPSIS
|
|
.B nice
|
|
[
|
|
.B -n increment
|
|
|
|
|
.BR \- increment
|
|
]
|
|
command [ arguments ]
|
|
.SH DESCRIPTION
|
|
.I nice\^
|
|
executes
|
|
.I command\^
|
|
with a lower
|
|
.SM CPU
|
|
scheduling priority.
|
|
.PP
|
|
If the
|
|
.I increment\^
|
|
argument (in the range 1-20) is given,
|
|
it is used;
|
|
if not, an increment of 10 is assumed.
|
|
.PP
|
|
The invoking process (generally the user's shell) must be in the time-sharing
|
|
scheduling class.
|
|
.PP
|
|
The super-user may run commands with
|
|
priority higher than normal
|
|
by using a negative increment,
|
|
e.g.,
|
|
.BR \-\-10 .
|
|
.SH SEE ALSO
|
|
csh(1), nohup(1),
|
|
nice(2)
|
|
.SH DIAGNOSTICS
|
|
.I nice\^
|
|
returns the exit status of the subject command.
|
|
.SH NOTES
|
|
.IR csh (1)
|
|
users beware:
|
|
.IR csh (1)
|
|
has a builtin
|
|
.I nice
|
|
command which has different syntax and semantics than
|
|
.IR nice (1).
|