101-400 Exam QuestionsBrowse all questions from this exam

101-400 Exam - Question 40


What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?

Show Answer
Correct Answer: B

The maximum niceness value that a regular user can assign to a process with the nice command when executing a new process is 19. In the context of the nice command, the niceness value can range from -20 (most favorable) to 19 (least favorable). Regular users can only increase the niceness value up to 19 to make a process less favorable.

Discussion

1 comment
Sign in to comment
DuboisNicolasDuclairOption: B
Oct 21, 2023

The maximum niceness value that a regular user can assign to a process with the `nice` command when executing a new process is: B. 19 In the context of the `nice` command, the niceness value is a range from -20 (most favorable) to 19 (least favorable). Regular users can make a process less favorable by increasing the niceness value up to 19, but they cannot make a process more favorable (i.e., lower the niceness value) than the default, which is typically 0.