PrepAway - Latest Free Exam Questions & Answers

What command changes the priority of the process running with process id of 12345 to the highestpriority?

What command changes the priority of the process running with process id of 12345 to the highest
priority?

PrepAway - Latest Free Exam Questions & Answers

A.
/usr/bin/renice +20 1234

B.
/usr/bin/renice -20 12345

C.
/bin/setpriority +20 12345

D.
/bin/setpriority -20 12345

Explanation:

To change the priority of running process we use the renice command. Default priority is 0, highest
priority is -20 and lowest priority is 19. The path of renice command is / usr /bin/ renice .

3 Comments on “What command changes the priority of the process running with process id of 12345 to the highestpriority?

  1. sara says:

    Correct answer B , gives desired result. Why do you think that
    it should be with -n option ? After typing B variant but with -n as you think is correct , I got error.




    0



    0

Leave a Reply