How to get processer (CPU) details in Linux
Use the command # cat /proc/cpuinfo
to see the processor details in linux.
processor
— Provides each processor with an identifying number. On systems that have one processor, only a0
is present.cpu family
— Authoritatively identifies the type of processor in the system. For an Intel-based system, place the number in front of “86” to determine the value. This is particularly helpful for those attempting to identify the architecture of an older system such as a 586, 486, or 386. Because some RPM packages are compiled for each of these particular architectures, this value also helps users determine which packages to install.model name
— Displays the common name of the processor, including its project name.cpu MHz
— Shows the precise speed in megahertz for the processor to the thousandths decimal place.cache size
— Displays the amount of level 2 memory cache available to the processor.siblings
— Displays the number of sibling CPUs on the same physical CPU for architectures which use hyper-threading.flags
— Defines a number of different qualities about the processor, such as the presence of a floating point unit (FPU) and the ability to process MMX instructions.
Outoput:
processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.00GHz stepping : 3 cpu MHz : 2992.991 cache size : 2048 KB physical id : 0 siblings : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm pni monitor ds_cpl cid bogomips : 5931.00 processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.00GHz stepping : 3 cpu MHz : 2992.991 cache size : 2048 KB physical id : 0 siblings : 2