LPI
010-160 · Question #5
010-160 Question #5: Real Exam Question with Answer & Explanation
The correct answer is B: Running processes, ordered by CPU or RAM consumption.. The top command is a real-time process viewer that displays running processes sorted by resource usage such as CPU or memory.
The Power of the Command Line
Question
What information can be displayed by top?
Options
- AExisting files, ordered by their size.
- BRunning processes, ordered by CPU or RAM consumption.
- CUser accounts, ordered by the number of logins.
- DUser groups, ordered by the number of members.
- EUser accounts, ordered by the number of files.
Explanation
The top command is a real-time process viewer that displays running processes sorted by resource usage such as CPU or memory.
Common mistakes.
- A. Listing files by size is done with commands like
ls -lSordu, nottop, which is strictly a process monitor. - C. User account login history is queried with commands such as
lastorlastlog, nottop. - D. Group membership information is found in
/etc/groupor viagetent group, nottop. - E. Counting files owned by user accounts requires tools like
findcombined withduor custom scripts, nottop.
Concept tested. Real-time process monitoring with top
Topics
#top command#process monitoring#system resources
Community Discussion
No community discussion yet for this question.