How to find my processor type and speed in Linux
The Linux provides proc interface and provides a file /proc/cpuinfo which contains all the information about the micro processor the current system is using. For example, the file in my system shows:
[neo@techpulp ~]# cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 72 model name : AMD Turion(tm) 64 X2 stepping : 2 cpu MHz : 800.000 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy ts fid vid ttp tm stc bogomips : 1610.90 clflush size : 64 processor : 1 vendor_id : AuthenticAMD cpu family : 15 model : 72 model name : AMD Turion(tm) 64 X2 stepping : 2 cpu MHz : 800.000 cache size : 512 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy ts fid vid ttp tm stc bogomips : 1610.90 clflush size : 64 [neo@techpulp ~]#
This information shows that I am using AMD Turion(tm) 64 X2 and it is having two processors. However the file shows that each processor is running at 800 Mhz but they are actually capable of running at 1600 Mhz. It is because my Fedora Linux uses cpuspeed service does on-demand cpu frequency scaling. So if I stop the cpuspeed service, I will see the actual speed which is 1600Mhz per processor.
[root@techpulp ~]# service cpuspeed stop

