Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

nice

v(uutils coreutils) 0.8.0
nice [OPTION] [COMMANDE [ARG]...]

Exécute COMMANDE avec une priorité ajustée, ce qui affecte l’ordonnancement des processus. Sans COMMANDE, affiche la priorité actuelle. Les valeurs de priorité vont de -20 (plus favorable au processus) à 19 (moins favorable au processus).

Options

--adjustment, -n

ajoute N à la priorité (par défaut 10)

Examples

The examples have not been translated yet and are shown in English. You can help by translating them on tldr-pages.

Print the current niceness value:

nice

Increment the current niceness value by 10:

nice nice

Launch a program with lowered priority:

nice -{{niceness_value}} {{command}}

Launch a program with heightened priority:

sudo 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.