What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?
What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?
The maximum niceness value that a regular user can assign to a process with the nice command when executing a new process is 19. Niceness values range from -20 (most favorable to the process) to 19 (least favorable to the process). Regular users can only assign niceness values from 0 to 19, with 19 being the maximum.
1. Nice value goes as regular integer, where 19 is bigger than -20. If question would ask for highest priority - than it's -20. 2. Question asks about regular user. Regular user can not assign nice below 0.
Run COMMAND with an adjusted niceness, which affects process scheduling. With no COMMAND, print the current niceness. Niceness values range from -20 (most favorable to the process) to 19 (least favorable to the process). So it must be 19. The question ask about the maximum possible number not a maximum priotity user can assign where lower = higher pririoty
Maximum range of niceness is from -20 to 19. Just choose the max number from the selection, to which in this case, is 19.
Should be -20
the range of niceness is from -20 to 19
It is 9. The lower the number the highest the nice priority. A regular user cannot set niceness below 0.
Answer: C