2015-12-29 10:32:32 +05:30
|
|
|
# nice
|
|
|
|
|
|
|
|
> Execute a program with a custom scheduling priority (niceness).
|
|
|
|
> Niceness values range from -20 (the highest priority) to 19 (the lowest).
|
2021-04-01 17:54:26 +02:00
|
|
|
> More information: <https://www.gnu.org/software/coreutils/nice>.
|
2015-12-29 10:32:32 +05:30
|
|
|
|
2016-01-07 18:31:27 +01:00
|
|
|
- Launch a program with altered priority:
|
2015-12-29 10:32:32 +05:30
|
|
|
|
2024-10-11 18:35:16 +02:00
|
|
|
`nice -{{niceness_value}} {{command}}`
|
2024-10-08 19:04:19 +03:00
|
|
|
|
|
|
|
- Define the priority with an explicit option:
|
|
|
|
|
|
|
|
`nice {{-n|--adjustment}} {{niceness_value}} {{command}}`
|