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.
The lscpu commands reports the architecture.
CPU op-mode(s): 32-bit,...
Read full post here
How to check processor and cpu details on Linux