101-400 Exam QuestionsBrowse all questions from this exam

101-400 Exam - Question 49


What is the default nice level when a process is started using the nice command?

Show Answer
Correct Answer: BD

The default nice level when a process is started using the nice command is 0. The nice level determines the scheduling priority of a process, with 0 being the default priority, indicating normal or neutral scheduling. Positive nice values decrease the priority, making a process less favorable for CPU scheduling, while negative values increase the priority, making a process more favorable.

Discussion

2 comments
Sign in to comment
ciola89Option: D
Sep 11, 2023

A niceness of -20 is the lowest niceness, or highest priority. The default niceness for processes is inherited from its parent process and is usually 0. Systems have diverged on what priority is the lowest. Linux systems document a niceness of 19 as the lowest priority, BSD systems document 20 as the lowest priority.

DuboisNicolasDuclairOption: D
Oct 21, 2023

When a process is started using the `nice` command, the default nice level is: D. 0 A nice level of 0 represents the default priority, meaning the process is initially running with normal scheduling priority. Positive nice values make a process less favorable, while negative values make a process more favorable in terms of CPU scheduling. The default nice level of 0 is considered the normal or neutral priority.