NICE(C) XENIX System V NICE(C)
Name
nice - Runs a command at a different priority.
Syntax
nice [ -increment ] command [ arguments ]
Description
nice executes command with a lower CPU scheduling priority.
Priorities range from 0 to 39, where 0 is the highest
priority and 39 is the lowest. By default, commands have a
"nice value" of 20. If an -increment argument is given
where increment is in the range 1-19, increment is added to
the default priority of 20 to produce a numerically higher
priority, meaning a lower scheduling priority. If no
increment is given, an increment of 10 to produce a priority
of 30 is assumed.
The super-user may run commands with priority higher than
normal by using a double negative increment. For example,
an argument of --10 would decrement the default to produce a
nice value of 10, which is a higher scheduling priority than
the default of 20.
See Also
nohup(C), nice(S)
Diagnostics
nice returns the exit status of the subject command.
Notes
An increment larger than 19 is equivalent to 19.
Page 1 (printed 8/7/87)