Linux.com

Home Linux Community Community Blogs General Linux How to check processor and cpu details on Linux

How to check processor and cpu details on Linux

Processor/Cpu details The details about the processor that we shall be talking about include, number of cores, availability of hyper threading, architecture, cache size etc. To find these details about the cpu on your system can be a bit difficult because the way different commands check them. The commands that we are going to use include lscpu, /proc/cpuinfo and lstopo (hwloc). They report detailed information about the cpu cores/processing units. The examples... Processor/Cpu details
The details about the processor that we shall be talking about include, number of cores, availability of hyper threading, architecture, cache size etc. To find these details about the cpu on your system can be a bit difficult because the way different commands check them.
The commands that we are going to use include lscpu, /proc/cpuinfo and lstopo (hwloc). They report detailed information about the cpu cores/processing units. The examples following next would explain how to interpret the output of these commands.
1. Vendor and model of the processor
To find the vendor and model name of the processor, search the /proc/cpuinfo file with the grep command.
$ cat /proc/cpuinfo | grep vendor | uniq
vendor_id : GenuineIntel
Its an Intel processor. Next find the model name that can be used to lookup the exact specifications online on Intel's website.
$ cat /proc/cpuinfo | grep 'model name' | uniq
model name : Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz
Its a "Core 2 Quad Q8400" processor.
2. Architecture
The lscpu commands reports the architecture.
$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit,...

Read full post here
How to check processor and cpu details on Linux

Read more at Binary Tides
 

Comments

Subscribe to Comments Feed

Upcoming Linux Foundation Courses

  1. LFD331 Developing Linux Device Drivers
    25 Aug » 29 Aug - Virtual
    Details
  2. LFS422 High Availability Linux Architecture
    08 Sep » 11 Sep - Raleigh, NC
    Details
  3. LFS426 Linux Performance Tuning
    08 Sep » 11 Sep - New York
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board