LX0-104 · 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. The ps and top commands are effective operating system tools for collecting capacity planning data by monitoring process resource usage and overall system performance.
Question
Options
- Afuser
- Blsof
- Cps
- Dtop
How the community answered
(25 responses)- A8% (2)
- B4% (1)
- C88% (22)
Why each option
The `ps` and `top` commands are effective operating system tools for collecting capacity planning data by monitoring process resource usage and overall system performance.
The `fuser` command identifies processes using specific files or sockets, which is not a primary tool for collecting broad capacity planning data across the entire system.
The `lsof` command lists open files and network connections by processes, which is useful for debugging specific resource access but not a primary tool for general capacity planning.
The `ps` command provides a snapshot of current processes, including detailed information about their CPU, memory, and runtime, which is crucial for analyzing individual process resource consumption for capacity planning.
The `top` command offers a dynamic, real-time view of running processes, displaying continuously updated CPU, memory, and other resource usage statistics, making it excellent for identifying resource bottlenecks and trends over time for capacity planning.
Concept tested: Linux system monitoring for capacity planning
Source: https://man7.org/linux/man-pages/man1/ps.1.html
Topics
Community Discussion
No community discussion yet for this question.