Ubuntu: Find CPU Information / Speed

by on April 27, 2009 · 9 comments· LAST UPDATED April 27, 2010

in

How do I find out CPU Information such as speed, processor, and cache under Ubuntu Linux operating systems?

You need to use the following command to display all information about the CPU (open terminal and type the following command at bash prompt):
$ cat /proc/cpuinfo
Sample outputs:

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping	: 11
cpu MHz		: 1596.000
cache size	: 4096 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 4
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
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 syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
bogomips	: 4800.18
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:
....
..
processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping	: 11
cpu MHz		: 1596.000
cache size	: 4096 KB
physical id	: 0
siblings	: 4
core id		: 3
cpu cores	: 4
apicid		: 3
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
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 syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
bogomips	: 4800.30
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

To count processor (including cores), enter:
grep -c processor /proc/cpuinfo

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 9 comments… read them below or add one }

1 risdiyanto May 21, 2011 at 5:49 pm

simple n very usefull…
:D

Reply

2 souri February 10, 2012 at 2:13 pm

Tnx alot

Reply

3 Simon August 22, 2012 at 5:47 pm

Thanks, was looking for this for a long time.

Reply

4 Mike October 31, 2012 at 2:12 pm

Thank you :).

Reply

5 Alex November 26, 2012 at 6:41 am

Thanks so much. Just what I was looking for.

Reply

6 IT GUY January 2, 2013 at 4:39 am

I was wondering if there is a way to update the file. It seems to update on reboot, but is there a way to update it without rebooting?

Reply

7 Sameer September 21, 2013 at 9:26 pm

A user doesn’t control any of the ‘/proc/*’ file.

Reply

8 Ksingh March 25, 2013 at 8:06 am

Just what I was looking for.

Thanks so much. :)

Reply

9 Gogu May 28, 2014 at 6:42 pm

Hey I would LIke to know what does the Processor : 0 and Processor : 3 mean exactly

Reply

Leave a Comment

Tagged as: , , , , , , , , , , , , , , , , , , ,

Previous Faq:

Next Faq: