LX0-104 · Question #437
Which of the following tools are used to measure memory usage? (Select THREE correct answers.)
The correct answer is C. sar D. top E. vmstat. sar, top, and vmstat are common Linux utilities used to monitor and report on various system resources, including memory usage.
Question
Options
- Ampstat
- Bpstree
- Csar
- Dtop
- Evmstat
How the community answered
(26 responses)- B4% (1)
- C96% (25)
Why each option
`sar`, `top`, and `vmstat` are common Linux utilities used to monitor and report on various system resources, including memory usage.
`mpstat` is primarily used to report processor-related statistics, particularly for multi-processor systems, not memory usage.
`pstree` displays running processes as a tree, showing process relationships, not resource utilization like memory.
`sar` (System Activity Reporter) provides comprehensive system statistics, including memory usage (e.g., `sar -r` for memory and swap space).
`top` displays a real-time summary of system usage, including detailed information about memory (total, free, used, buffers, cache) and individual process memory consumption.
`vmstat` (virtual memory statistics) reports on processes, memory, paging, block IO, traps, and CPU activity, with specific columns dedicated to virtual and physical memory usage.
Concept tested: Linux memory monitoring utilities
Source: https://linux.die.net/man/1/sar
Topics
Community Discussion
No community discussion yet for this question.