Question 460
A helpdesk colleague describes this Linux behavior: A technician wants the current running processes but types free and expects a PID list. Which finding would validate the selected approach?
Explanation
Correct Answer
ps displays process IDs and command names while free displays memory totals. This is specific evidence for the stated requirement. The explanation is: Process inventory and memory usage are different runtime observations exposed by different tools. The required action is: Use ps for a process listing and free for summary memory information.
Incorrect Answers
The alternative measures an outcome associated with: The /var hierarchy includes variable system data such as logs, whereas /tmp is primarily for temporary files. It does not verify the stated failure. Here process inventory and memory usage are different runtime observations exposed by different tools. Confirm “ps displays process IDs and command names while free displays memory totals”.
That observation would verify a different mechanism: User programs run under kernel-managed processes and request system services through supported interfaces. It would not establish whether the present failure was corrected, because process inventory and memory usage are different runtime observations exposed by different tools. Test “ps displays process IDs and command names while free displays memory totals” instead.
This test can succeed without resolving the cause described here. It addresses: Free summarizes memory statistics reported by the kernel, unlike ls which lists filesystem entries. The relevant causal dependency is: Process inventory and memory usage are different runtime observations exposed by different tools. The required validation is “ps displays process IDs and command names while free displays memory totals”.