Modify process execution priorities (2) Flashcards

Objective 103.6 Weight 2

1
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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?

  1. nice -n 19
  2. renice -n 19
  3. nice -n -19
  4. renice -n -19
  5. nice -19
  6. nice –19
A
  1. nice -n 19
    AND
  2. 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly