Modify process execution priorities (2) Flashcards
Objective 103.6 Weight 2
1
Q
A
2
Q
Which of the following commands can you use to set the nice value for a program, if you do not have super user privileges, prior to running the program?
- nice -n 19
- renice -n 19
- nice -n -19
- renice -n -19
- nice -19
- nice –19
A
- nice -n 19
AND - nice -19
Nice values are 0-19 for a lower priority, and -1 to -20 for a higher priority. You cannot set a higher priority (-1 to -20) without super user privileges, and nice value 0 is the default. The commands that allow you to set the nice value prior to running the program without super user privileges are: nice -n # and nice -# where # is the nice value.