XK0-005 · Question #121
An administrator needs to see the type of CPU that a server is running. Which of the following files contains this information?
The correct answer is A. /proc/cpuinfo. The /proc/cpuinfo file is a virtual file in the proc filesystem that provides detailed information about the CPUs installed on the system, including their type, model, and capabilities.
Question
An administrator needs to see the type of CPU that a server is running. Which of the following files contains this information?
Options
- A/proc/cpuinfo
- B/etc/devices/info.conf
- C/dev/proc/cpu
- D/sys/dev/cpuinfo
How the community answered
(28 responses)- A93% (26)
- B4% (1)
- D4% (1)
Why each option
The `/proc/cpuinfo` file is a virtual file in the proc filesystem that provides detailed information about the CPUs installed on the system, including their type, model, and capabilities.
The `/proc/cpuinfo` file is a pseudofile in the `/proc` filesystem that exposes details about the system's processor(s), such as vendor ID, model name, core count, and flags. This information is dynamically generated by the kernel when the file is accessed.
`/etc/devices/info.conf` is not a standard Linux path or file for CPU information.
`/dev/proc/cpu` is not a standard Linux path for CPU information; `/dev` contains device files, not process information.
While `/sys` contains hardware information, `/sys/dev/cpuinfo` is not the correct path for CPU details; the primary file for this specific information is in `/proc`.
Concept tested: System information- CPU details in /proc
Source: https://man7.org/linux/man-pages/man5/proc.5.html
Topics
Community Discussion
No community discussion yet for this question.