XK0-004 · Question #339
Which of the following directories will help an administrator identify the specifications of a Linux server in term of resources?
The correct answer is B. /Proc. The /proc virtual filesystem is the primary Linux location for real-time hardware and resource specification data such as CPU, memory, and storage details.
Question
Which of the following directories will help an administrator identify the specifications of a Linux server in term of resources?
Options
- A/sys
- B/Proc
- C/Var
- D/usr
How the community answered
(43 responses)- A2% (1)
- B93% (40)
- C5% (2)
Why each option
The /proc virtual filesystem is the primary Linux location for real-time hardware and resource specification data such as CPU, memory, and storage details.
/sys exposes hardware topology and driver/device attributes via sysfs but is oriented toward device management rather than providing the consolidated CPU, memory, and resource summaries found in /proc.
/proc is a pseudo-filesystem that the Linux kernel populates at runtime with files exposing system resource information - /proc/cpuinfo lists CPU model, cores, and flags; /proc/meminfo reports total and available RAM; and /proc/partitions enumerates storage. Because these files reflect live kernel data, /proc is the definitive directory for identifying a Linux server's resource specifications.
/var holds variable runtime data such as logs, mail spools, and package caches and contains no files describing the server's hardware resource specifications.
/usr stores user-space application binaries, libraries, and documentation and does not expose any runtime hardware or resource specification information.
Concept tested: Linux /proc filesystem for server resource specifications
Source: https://man7.org/linux/man-pages/man5/proc.5.html
Topics
Community Discussion
No community discussion yet for this question.