NICE(1) — USER COMMANDS
NAME
nice − run a command at low priority
SYNOPSIS
nice [ −number ] command [ arguments ]
DESCRIPTION
There are two distinct versions of nice: it is built in to the C shell, and is an executable program available in /usr/bin/nice for use with the Bourne shell.
nice executes command with a higher “nice” value. The higher the value, the lower the command’s scheduling priority. If the number argument is present, the nice value is incremented by that amount, up to a limit of 20. The default number is 10.
The super-user may run commands with priority higher than normal by using a negative nice value, such as −10.
FILES
/usr/bin/nice
SEE ALSO
DIAGNOSTICS
nice returns the exit status of the subject command.
BUGS
The nice C shell built-in has a slightly different syntax than the nice command described here. When using the built-in, the additional + option, as in:
nice +n
sets the nice value to n rather than incrementing by n.
Although you can increase the nice value for any process you own, only the super-user can decrement that value.
Sun Release 4.0 — Last change: 9 September 1987