CompTIA Linux+ (XK0-005) — Question 224
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?
Answer options
- A. renice -n 15 -p
- B. nice -n 15 -p
- C. renice -n -15 -p
- D. nice -n -15 -p
Correct answer: A
Explanation
The correct command is 'renice -n 15 -p', which increases the priority of the backup process, allowing it to consume fewer CPU resources compared to other processes. The other options either do not affect the priority of a running process (B and D) or incorrectly lower the priority (C), which is not the desired outcome in this situation.