nerdexam
CompTIA

XK0-005 · Question #140

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…

System Management

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?

Exhibit

XK0-005 question #140 exhibit

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

(26 responses)
  • A
    19% (5)
  • B
    4% (1)
  • C
    69% (18)
  • D
    8% (2)

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 Management#renice command#Process Priority#Linux Commands

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice