System Management

An administrator is investigating a hung service. She wants to read the status and open file descriptors of the process with PID 2417 directly from a virtual filesystem the kernel generates in memory, with numbered subdirectories for each running process. Which FHS directory should she use?

Show the answer

Correct answerD. /proc

/proc is a kernel-generated virtual filesystem that exposes per-process data in numbered directories such as /proc/2417 and runtime kernel information. /dev is tempting, but it holds device files for hardware, not process information.