nice
v0.0.28
nice [OPTIONS] [COMMAND [ARGS]]
Run COMMAND
with an adjusted niceness, which affects process scheduling.
With no COMMAND
, print the current niceness. Niceness values range from at
least -20 (most favorable to the process) to 19 (least favorable to the
process).
Options
--adjustment
,-n
-
add N to the niceness (default is 10)
Examples
Launch a program with altered priority:
nice -{{niceness_value}} {{command}}
Define the priority with an explicit option:
nice {{-n|--adjustment}} {{niceness_value}} {{command}}
The examples are provided by the tldr-pages project under the CC BY 4.0 License.
Please note that, as uutils is a work in progress, some examples might fail.