Skip to content
TrySitePrice

How to find out CPU information on CentOS Linux 7.x/8.x/Stream

Best/Tutorial

To find out the CPU information on CentOS 7.x/8.x/Stream, you can use the following commands:

  1. lscpu: This command provides detailed information about the CPU architecture and the number of processors, cores, and threads.

$ lscpu

  1. cat /proc/cpuinfo: This command displays information about the individual processors, including their clock speed, cache size, and architecture.

$ cat /proc/cpuinfo

  1. hwinfo: This command is part of the "hwinfo" package and provides detailed information about various hardware components, including the CPU.

$ sudo yum install hwinfo

$ hwinfo --cpu

  1. dmidecode: This command is used to retrieve information from the DMI (Desktop Management Interface) tables of the system's firmware.

$ sudo yum install dmidecode

$ sudo dmidecode -t processor

These commands will give you information about the CPU architecture, clock speed, number of processors, cores, and threads.