— execute a
utility with an altered scheduling priority
at an altered scheduling priority. If an
is given, it is used; otherwise an
increment of 10 is assumed. The superuser can run utilities with priorities
higher than normal by using a negative
. The priority can be adjusted over
a range of -20 (the highest) to 20 (the lowest).
The options are as follows:
- A positive or negative decimal integer used to modify the
system scheduling priority of
utility exits with one of the following
- An error occurred.
- The utility was found but
could not be invoked.
- The utility could not be
Otherwise, the exit status of nice
shall be that of
utility is compliant with the
IEEE Std 1003.1-2008
option has been deprecated but is still supported in this implementation.
also exists as a built-in to
, though with a different
utility appeared in
Version 6 AT&T UNIX