What is the default nice level when a process is started using the nice command?
A.
-10
B.
10
C.
20
D.
0
What is the default nice level when a process is started using the nice command?
What is the default nice level when a process is started using the nice command?
A.
-10
B.
10
C.
20
D.
0
It says on multiple other sites that default nice value is 0
I’m seeing in the Linux + book by CompTia that it’s 10 so to pass the exam, that’s fine, but why do other sites say the default is 0:
https://www.nixtutor.com/linux/changing-priority-on-linux-processes/
http://www.linuxquestions.org/questions/linux-newbie-8/what-is-the-default-nice-value-for-processes-844920/
https://askubuntu.com/questions/656771/process-niceness-vs-priority
http://www.thegeekstuff.com/2013/08/nice-renice-command-examples/?utm_source=tuicool
Hi Che:
Sorry, but default nice is 10. You can check:
#nice top
You will see 10 in the NI(nice) column
Regards
More or less you’re right. Default nice is +10, it’s 10 added to whatever is inherited from parent process, usually 0. But if it wasn’t 0, the value would be not ten but whatever it is +10.