73

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!

  • Might be wrong, but that looks more like a single core doing hyperthreading, which presents two "logical cores". – Scaine Feb 14 '11 at 20:31
  • @Scaine Do you know if there is a way to confirm that? – Toby Feb 14 '11 at 20:34
  • I'm no expert on lshw, Toby, sorry. I've amended my answer to reflect the output from my core2Duo processor (no hyperthreading). Hope this helps. – Scaine Feb 14 '11 at 20:41
  • what about a single command in the terminal? – Charlie Parker Jul 26 '19 at 21:46
54

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

|improve this answer|||||
  • Ha, thanks - that was overlooked! That has listed two processors both Core 2 Duos @3.16GHz. What it doesn't do it confirm if this is a 64 bit machine or not.. (or am I being dense and that fact is staring me in the face?) – Toby Feb 14 '11 at 20:41
  • uname -r should help with that, surely? Or the same screenshot shows that I'm running 32-bit (my kernel is "generic"). – Scaine Feb 14 '11 at 20:42
  • I didn't set up the machine in the first place and I think the person who did erred on the site of caution and may have went for generic when they could have went higher. Thanks so much for your help. I have all the information I need now! – Toby Feb 14 '11 at 20:47
  • 3
    Actually, uname -m tells you whether the OS is 64 bits or not. On a 64-bits machine, it returns x86_64. – Lekensteyn Feb 14 '11 at 20:50
  • 9
    my system monitor doesnt have this tab :-( – phil294 Feb 22 '17 at 12:34
66

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
|improve this answer|||||
  • 3
    I like this answer better. – shriek Aug 11 '17 at 2:19
  • For future Googlers - this command doesn't work on ARM processors as the output is very different in at least 18.04. The lscpu command below works well. – stdunbar Sep 6 '19 at 17:31
  • 1
    grep could handle files as well as stdout, so you could simplify it like this: grep name /proc/cpuinfo | uniq – Lion Oct 13 '19 at 10:37
53

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.

|improve this answer|||||
8

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"
|improve this answer|||||
  • 1
    Sorry, what is the 'settings wheel'? – Dennis Golomazov Apr 16 '15 at 10:36
  • 2
    @DenisGolomazov - sorry, i just edited the answer to explain – Ryan Apr 17 '15 at 12:41
  • 1
    This no longer works on Ubuntu 16. You need to click on the item title "Details" from the "System Settings" – Eric Dec 27 '17 at 23:03
  • work for me ubuntu 16.04 at top of the menu – Webwoman Sep 23 '18 at 12:00
1

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

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

|improve this answer|||||
  • 1
    Those commands output "x86_64" which identifies that 64-bit software is being used. However, it doesn't answer question of whether or not there is a dual core processor. Using sudo lshw -class CPU will provide model number of processor which can be googled to get full specifications of that chip which could be single core, hyper-threaded. – WinEunuuchs2Unix Feb 5 '17 at 18:16
  • Note, though, that with this result, your system will not output x86_64 if you do not have the 64-bit kernel installed on your system. – Kaz Wolfe Feb 5 '17 at 18:26
  • Thank you @KazWolfe for the edit. I was searching for this answer to run some Benchmarking suites on different processors, and came across these commands. – Batwoman05 Feb 5 '17 at 19:04
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.

|improve this answer|||||
0

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

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.