nerdexam
CompTIA

XK0-005 · Question #10090

A systems administrator suspects a process with a PID of 2864 is consuming resources at an alarming rate. The administrator uses the command renice -n -5 -p2864, but it does not solve the issue…

The correct answer is C. renice -n 10 -p 2864. A higher value of priority actually makes the process lower priority; it means the process demands fewer system resources (and therefore is a "nicer" process). A lower priority value means the process demands more resources, possibly denying those resources to processes that…

Troubleshooting

Question

A systems administrator suspects a process with a PID of 2864 is consuming resources at an alarming rate. The administrator uses the command renice -n -5 -p2864, but it does not solve the issue. Which of the following commands should the administrator execute to correct the issue?

Options

  • Anice -n 5 -p 2864
  • Bnice -n -5 -p 2864
  • Crenice -n 10 -p 2864
  • Drenice -n -10 -p 2864

How the community answered

(46 responses)
  • A
    4% (2)
  • B
    7% (3)
  • C
    72% (33)
  • D
    17% (8)

Explanation

A higher value of priority actually makes the process lower priority; it means the process demands fewer system resources (and therefore is a "nicer" process). A lower priority value means the process demands more resources, possibly denying those resources to processes that are "nicer". Range is - 20 to 19 -20 is highest priority 19 is lowest priority

Topics

#Process Priority#renice Command#System Resource Management#Troubleshooting Linux

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice