LFCS · Question #158
What operating system tools can be used to collect capacity planning data? (Select TWO correct answers.)
The correct answer is C. ps D. top. ps and top are essential operating system tools for collecting capacity planning data by monitoring process-level CPU and memory utilization.
Question
Options
- Afuser
- Blsof
- Cps
- Dtop
How the community answered
(20 responses)- A5% (1)
- C95% (19)
Why each option
`ps` and `top` are essential operating system tools for collecting capacity planning data by monitoring process-level CPU and memory utilization.
`fuser` identifies processes using specific files or sockets, which is useful for troubleshooting but not a primary tool for general capacity planning data collection of CPU/memory metrics.
`lsof` (list open files) lists all open files and the processes that opened them, which is valuable for debugging resource conflicts but not typically for comprehensive capacity planning data like overall CPU/memory usage.
`ps` (process status) displays information about currently running processes, including their CPU usage and memory consumption (RSS, VSZ), which are vital statistics for detailed capacity planning analysis.
`top` provides a dynamic, real-time view of running processes, continuously updating their CPU utilization, memory usage, and other performance metrics, making it an excellent tool for identifying resource-intensive processes for capacity planning.
Concept tested: Linux performance monitoring tools
Source: https://man7.org/linux/man-pages/man1/ps.1.html
Topics
Community Discussion
No community discussion yet for this question.