How to Reduce CPU Impact of an Already Running Backup Process?
A Linux administrator logs in to a system and identifies that an important backup has been started. The backup process is consuming a considerable amount of CPU lime but needs to continue. Which of the following should the administrator use to reduce the impact this process has on other services?
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The exam tests both the difference between nice and renice and the meaning of positive nice values: positive values lower priority, and renice is required for an already-running process.
Learn how to use renice with a positive nice value to lower the CPU priority of an already-running backup process on Linux, minimizing its impact on other services. This XK0-005 exam prep explains the difference between nice and renice and the correct syntax.
Choosing option B is a common mistake because it uses the correct nice value (15) but the wrong command: nice starts a new process and does not accept -p, while the backup is already running and needs renice.
Community Discussion (3 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
A is correct becauserenice -n 15 -p changes the nice value of an existing process to 15, lowering its scheduling priority. On Linux, nice values range from -20 (highest priority) to 19 (lowest); a positive value makes the process "nicer" to others, so the backup still runs but consumes less CPU. Since the backup is already running, renice is the appropriate command.Why the Other Options Are Wrong
Option B is wrong becausenice -n 15 -p is invalid: nice is used to start a new command with a given priority and does not support a -p option to target a PID, nor can it change an already-running process. Option C uses -15, which would raise the backup's priority, increasing CPU contention with other services. Option D also uses -15, and nice cannot be used on a running process.Community Comment Notes
Commenters correctly identified that positive nice values lower priority, as noted in comment 1: -20 is highest, 19 is lowest, and setting 15 would allow the backup to continue while freeing CPU. Comment 2 confirms the range and behavior of nice priorities. Comment 3 suggestsrenice -n -15 -p, but that would actually increase the backup’s priority; the correct approach for reducing impact is a positive value like 15. Official Reference
Exam Strategy
Remember the mnemonic 'renice is for running, nice is for new' and that positive nice values are 'nice' to other processes (lower priority). When asked about an already-started process, immediately choose renice with a positive number.