LX0-104 · Question #159
In capacity planning exercises, what tools assist in identifying processes of interest from other processes? (Select TWO correct answers.)
The correct answer is B. lsof C. pstree. lsof and pstree are valuable tools in capacity planning to identify specific processes of interest from others by revealing resource usage and process hierarchies.
Question
Options
- Aacpid
- Blsof
- Cpstree
- Dw
How the community answered
(41 responses)- A2% (1)
- B90% (37)
- D7% (3)
Why each option
`lsof` and `pstree` are valuable tools in capacity planning to identify specific processes of interest from others by revealing resource usage and process hierarchies.
The `acpid` daemon handles ACPI events and is not a general-purpose command-line tool for identifying and analyzing other processes.
The `lsof` command lists all open files and network connections by processes, which helps in identifying what resources a specific process is using and thus distinguishing it from other processes.
The `pstree` command displays running processes as a tree, showing parent-child relationships, which is highly useful for identifying processes belonging to a particular application or service group, making them processes of interest.
The `w` command shows who is logged on and what they are doing, providing user activity information but not detailed process identification relevant for distinguishing processes of interest in capacity planning.
Concept tested: Linux process identification and analysis tools
Source: https://man7.org/linux/man-pages/man8/lsof.8.html
Topics
Community Discussion
No community discussion yet for this question.