1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/nice.md

14 lines
440 B
Markdown
Raw Normal View History

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).
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/nice-invocation.html>.
2015-12-29 10:32:32 +05:30
- Launch a program with altered priority:
2015-12-29 10:32:32 +05:30
`nice -{{niceness_value}} {{command}}`
- Define the priority with an explicit option:
`nice {{-n|--adjustment}} {{niceness_value}} {{command}}`