158

I have just ran lshw to get some information about a machine I know nothing about, and I just wanted to confirm something.

Does this basically mean it is a dual core 64 bit processor that is installed?

*-logicalcpu:0
    description: Logical CPU      
    physical id: 0.1          
    width: 64 bits          
    capabilities: logical       
*-logicalcpu:1            
    description: Logical CPU           
    physical id: 0.2              
    width: 64 bits           
    capabilities: logical

Looking further down I see this

 *-cpu:1
      physical id: 1
      bus info: cpu@1
      version: 6.7.6
      serial: 0001-0676-0000-0000-0000-0000
      size: 3150MHz
      capabilities: vmx ht
      configuration: id=0
    *-logicalcpu:0
         description: Logical CPU
         physical id: 0.1
         capabilities: logical
    *-logicalcpu:1
         description: Logical CPU
         physical id: 0.2
         capabilities: logical

Which makes me almost certain it is dual core but not convinced on the 64 bit.

Any help for this n00b would be greatly appreciated!

muru
  • 207,228
Toby
  • 1,765

9 Answers9

164

To get the Processor model use the below command in a terminal.

cat /proc/cpuinfo  | grep 'name'| uniq

To get the information about number of processors

cat /proc/cpuinfo  | grep process| wc -l
Kaz Wolfe
  • 34,680
PKumar
  • 3,182
131

The simplest way to do this is to use the command created for that, lscpu:

user@host:~$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                2
On-line CPU(s) list:   0,1
Thread(s) per core:    1
Core(s) per socket:    2
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 55
Model name:            Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
Stepping:              8
CPU MHz:               697.301
CPU max MHz:           2582,3000
CPU min MHz:           499,8000
BogoMIPS:              4331.60
Virtualization:        VT-x
L1d cache:             24K
L1i cache:             32K
L2 cache:              1024K
NUMA node0 CPU(s):     0,1
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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl 
xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor 
ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt  
tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb tpr_shadow vnmi 
flexpriority ept vpid tsc_adjust smep erms dtherm ida arat

This command will tell you your chipset's characteristics as well as any supported instructions (or flags) in an easy-to-use and simple-to-read manner.

kcdtv
  • 2,445
64

It's often overlooked, so worth a shot. Sorry if this is insultingly obvious :

System Preferences

Alt-F2, then gnome-system-monitor

Also, when I ran sudo lshw | grep -i cpu, I see a line which says cpus=2.

enter image description here

Scaine
  • 11,229
10

In ubuntu 14.04 desktop, the system monitor tool no longer has a "System" tab. You should see roughly the same screen like this:

  1. click the settings wheel (to clarify: the taskbar icon in the absolute upper-right hand corner of the screen: enter image description here)
  2. choose "About this Computer"
Ryan
  • 211
5

You can just use this : more /proc/cpuinfo in your command line.

Then you faced with something like this :

enter image description here

You can use this for more information :

enter image description here

milad salimi
  • 181
  • 1
  • 2
  • 9
1

The Hardware Lister application (lshw-gtk) from the default Ubuntu repositories is a user-friendly GUI application that displays detailed information about your computer's hardware including the model name and architecture (32-bit or 64-bit) of the CPU.

Simply select a category to obtain detailed information about a hardware component from the main interface.

Hardware Lister

karel
  • 122,292
  • 133
  • 301
  • 332
1

Use the uname -m or arch command from the terminal.

For a 64-bit processor and kernel, the command will output x86_64.

Kaz Wolfe
  • 34,680
0

Use this:

cat /proc/cpuinfo | tail -1 | cut -d':' -f 2 | xargs

ABC ABC
  • 11
0

The simplest way is from Launcher select System Settings-->Details:

System Settings About

This identifies both your CPU model number and whether 32-bit or 64-bit software is running. It also displays other useful information such as amount of RAM.

Now take your CPU model number in google search engine type 3630QM number of cores:

3630QM number of cores

Replace 3630QM with the model number you get from the first display.

All the other answers are great answers but if you really want the "simplest" way of doing this I believe this is the preferred method without opening a terminal session or installing new software.