nerdexam
CompTIA

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.

Shells, Scripting and Data Management

Question

In capacity planning exercises, what tools assist in identifying processes of interest from other processes? (Select TWO correct answers.)

Options

  • Aacpid
  • Blsof
  • Cpstree
  • Dw

How the community answered

(41 responses)
  • A
    2% (1)
  • B
    90% (37)
  • D
    7% (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.

Aacpid

The `acpid` daemon handles ACPI events and is not a general-purpose command-line tool for identifying and analyzing other processes.

BlsofCorrect

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.

CpstreeCorrect

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.

Dw

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

#process monitoring#lsof#pstree#system tools

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice