nerdexam
LPI

117-301 · Question #126

In capacity planning exercise, what tools assist in identifying processes of interest from other processes? (Choose two.)

The correct answer is B. pstree D. lsof. See the full explanation below for the reasoning.

Question

In capacity planning exercise, what tools assist in identifying processes of interest from other processes? (Choose two.)

Options

  • Aw
  • Bpstree
  • Cacpid
  • Dlsof

How the community answered

(31 responses)
  • A
    3% (1)
  • B
    84% (26)
  • C
    13% (4)

Community Discussion

5
Carlos M.Carlos M.Mar 29, 2026

Answer is B and D. pstree maps out parent-child relationships in a visual tree so you can quickly see which processes spawned which others, which is exactly what you need when you are trying to isolate a process of interest from a crowd of running processes during capacity planning. lsof lets you see all open files, sockets, and pipes attached to a given process, so you can trace connections between processes and understand what resources they are sharing or competing for. The other two do not fit here, since w only tells you about logged-in users and their shell activity, and acpid is an ACPI event daemon with nothing to do with process inspection. On the real exam, whenever you see a question about process relationships or resource usage at the process level, pstree and lsof are your go-to pair.

25
Imani T.Imani T.Apr 19, 2026

The wording on this one is a little clunky because "identifying processes of interest from other processes" really just means visualizing and tracing what is running and what resources it owns, not some fancy isolation technique. pstree earns its spot because it maps the parent-child relationship tree so you can immediately see which processes spawned what, which matters a lot when you are trying to figure out if a runaway child process is the real culprit or just a symptom. lsof earns the other slot because it tells you exactly which files, sockets, and network connections a process has open, so you can tie resource consumption back to a specific PID during a capacity review. The distractor that trips people up is A, w, because it does show load averages and active user sessions, but w is a who-is-doing-what-right-now snapshot, not a tool for drilling into process relationships or resource handles. acpid is just the power event daemon so that one should be an easy cut.

2
Wesley A.Wesley A.Apr 8, 2026

pstree and lsof are the right picks here. pstree shows you the parent-child relationships between processes so you can visually trace which processes spawned which, and lsof lists open files including network sockets and pipe connections, which lets you tie a process to the specific resources it is actually using during a capacity review.

1
Imani T.Imani T.Apr 9, 2026

Wesley that combo is solid for resource mapping, though for a capacity review I would lean harder on lsof with the -i flag specifically to focus on network connections rather than wading through the full file list.

0
Luis F.Luis F.Apr 12, 2026

Yeah B and D are right, pstree shows process hierarchy and lsof lists open files per process.

0
Full 117-301 Practice