CPU defition

I'm sure you all know, but just in case, here is the definition of CPU in Wikipedia:

The central processing unit (CPU) is the portion of a computer system that carries out the instructions of a computer program, and is the primary element carrying out the computer's functions. The central processing unit carries out each instruction of the program in sequence, to perform the basic arithmetical, logical, and input/output operations of the system. This term has been in use in the computer industry at least since the early 1960s. The form, design and implementation of CPUs have changed dramatically since the earliest examples, but their fundamental operation remains much the same.

Linux CPU info

Now if you want to print the CPU info under Linux, just run this command:

less /proc/cpuinfo

This will have an output more or less like this:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 6
model name      : Intel(R) Pentium(R) 4 CPU 3.20GHz
stepping        : 5
cpu MHz         : 3196.123
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm con
stant_tsc pni monitor ds_cpl est tm2 cid xtpr
bogomips        : 6392.67

Now you know you have a Pentium 4 with 2048 KB cache CPU.

Don't forget to bookmark this article in case you forget how to get the Linux CPU info, next time you might need it.