NICE(1) General Commands Manual NICE(1)

niceinvoke command with modified nice scheduling value

nice [-n increment] command [argument...]

nice runs command with a modified niceness, changing the scheduling of the process.

As required by POSIX, if the user lacks the privileges to change the niceness a warning message is printed to stderr but the execution continues and command gets executed, without it's niceness changed.

increment
Positive or negative integer used to adjust the niceness of the process. (default: 0)

If command is invoked, the exit status of nice shall be the exit status of command; Otherwise, the nice utility shall exit with one of the following values:

125
An error occurred within the nice utility.
126
command was found but couldn't be invoked.
127
command wasn't found.

renice(1), nice(3)

nice should be compliant with the IEEE Std 1003.1-2024 (“POSIX.1”) specification.

Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>

2024-04-18 Linux 6.6.67-gentoo-x86_64