nerdexam
CompTIA

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.

System Management

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)
  • A
    93% (26)
  • B
    4% (1)
  • D
    4% (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.

A/proc/cpuinfoCorrect

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.

B/etc/devices/info.conf

`/etc/devices/info.conf` is not a standard Linux path or file for CPU information.

C/dev/proc/cpu

`/dev/proc/cpu` is not a standard Linux path for CPU information; `/dev` contains device files, not process information.

D/sys/dev/cpuinfo

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

#/proc Filesystem#System Information#CPU Details#Linux Administration

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice