201-450 practice question 9 of 25

In capacity planning exercises, which tools assist in listing and identifying processes of interest? (Choose TWO correct answers.)

Full set: 161 questions
Answer options
A: acpid
B: lsof Correct answer
C: pstree Correct answer
D: telinit
Correct Answer:
B. lsof; C. pstree
Explanation

For capacity planning, administrators need to understand process resource usage and relationships. The lsof (list open files) command is invaluable for identifying which processes are using specific files, devices, or network connections, helping to pinpoint resource contention. The pstree command displays running processes as a tree, which clarifies parent-child relationships and helps identify entire service process groups, making it easier to assess the impact of a particular application or daemon.

Why Incorrect

A. acpid is the Advanced Configuration and Power Interface event daemon; it manages power-related events and is not a general-purpose process analysis tool.
D. telinit is a command used to change the system runlevel in SysV init systems. It controls the system's state, but does not list or identify processes.

References

- Linux man page for lsof(8). The DESCRIPTION section states, "lsof - list open files". It is used to find out which files are open by which process. Available at: https://man7.org/linux/man-pages/man8/lsof.8.html

- Linux man page for pstree(1). The DESCRIPTION section states, "pstree shows running processes as a tree. The tree is rooted at either pid or init if pid is omitted." Available at: https://man7.org/linux/man-pages/man1/pstree.1.html

- University of Chicago, CMSC 23200/33200, "Introduction to Computer Security", Lab 2: Linux Tools. This document lists pstree and lsof as key tools for process and system inspection.

Scroll to Top