XK0-005 · Question #612
XK0-005 Question #612: Real Exam Question with Answer & Explanation
The correct answer is A: renice -n -15 2274. The renice command is used to change the priority of a running process by specifying its PID and the new nice value. The -n flag indicates the amount of change in the nice value, which can be positive or negative. A lower nice value means a higher priority, so -15 will increase t
Question
An administrator needs to increase the system priority of a process with PID 2274. Which of the following commands should the administrator use to accomplish this task?
Options
- Arenice -n -15 2274
- Bnice -15 2274
- Cecho "-15" > /proc/PID/2274/priority
- Dps -ef | grep 2274
Explanation
The renice command is used to change the priority of a running process by specifying its PID and the new nice value. The -n flag indicates the amount of change in the nice value, which can be positive or negative. A lower nice value means a higher priority, so -15 will increase the priority of the process with PID 2274. The administrator needs to have root privileges to do this.
Topics
Community Discussion
No community discussion yet for this question.