LPIC-3 Exam 305 (Virtualization and Containerization) — Question 7
Which file in a cgroup directory contains the list of processes belonging to this cgroup?
Answer options
- A. pids
- B. members
- C. procs
- D. tasks
- E. subjects
Correct answer: C
Explanation
The correct file is 'procs', which is used to display the process IDs of the tasks in the cgroup. The 'pids' file relates to limits on the number of processes, while 'members', 'tasks', and 'subjects' are not standard files found in cgroup directories.