Question 380
Before changing a Linux system, an engineer observes: The support team needs a live ranking of CPU-intensive processes during a short performance incident. Which check most directly isolates the relevant cause or prerequisite?
Explanation
Correct Answer
Check process CPU consumption and current resource use with a continuously updating monitor. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use top and inspect per-process CPU usage, state, and identifiers.
Incorrect Answers
Check whether the chosen ps options include processes across users and terminals. That would matter when an administrator wants to inspect all active processes and their owners rather than only the current shell's jobs. The relevant distinction in this case is: Check process CPU consumption and current resource use with a continuously updating monitor.
Check running process names and PIDs using pgrep -a or a suitable ps filter. That would matter when a runaway process must be located by command name before sending any termination signal. It does not address this case's requirement: The support team needs a live ranking of CPU-intensive processes during a short performance incident.
Inspect process state and determine whether SIGTERM was received and whether cleanup is still possible. That would matter when a suspected process is unresponsive to a normal termination request but its temporary files must be considered. That separate mechanism does not verify the needed Linux administration outcome in this case.