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