An Entrepreneur, Coach, IT Consultant, Strategic Adviser, and a Traveler craving to explore and contribute to forming a better society.

Tuesday, August 25, 2009

Shell Scripting #0020: CPU Information in Linux/Unix

No comments :
CPU Information in Linux/Unix

/proc/cpuinfo file contains the information about cpu, process, vendor, cpu model, cpu model name, etc.,

You should be able to get the information by using cat command on that file
[root@sa]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) XEON(TM) MP CPU 1.50GHz
stepping : 8
cpu MHz : 1496.780
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc
bogomips : 3035.72

No comments :