adds math function for priority

This commit is contained in:
waldek 2022-08-23 10:08:34 +02:00
parent 8fa1a1dc37
commit 4ef8fd3886
1 changed files with 2 additions and 0 deletions

View File

@ -345,6 +345,8 @@ You can tell because they are at `0`.
The **nice** scale goes from `-20` being not-at-all-nice to `20` being super friendly towards other processes.
The nicer a process the less aggressive it will be when demanding CPU time.
The formula for the **priority** is PR=20+NI where NI is a value between -20 and 19.
### Nice
Depending on your system a new process will get a specific nice value.