6

Similar to this question, I have a 32-bit OS (Ubuntu), but I want to know if my machine is 64-bit capable... I checked out the question, but the answers are Windows-specific... I also checked this question, but I want to know if it is 64-bit capable, I know my OS is 32-bit.
Thanks, whoever I am

6 Answers6

12

run (as root/sudo)

lshw -class CPU

and look at the Width attribute. If its 64bit, your hardware is capable.

More info here: http://www.basiclinuxcommand.com/lshw/check-cpu-processor-type-information-linux-fedora-using-lshw-command.html

Frank Thomas
  • 37,476
1

Just to throw a revision of Frank Thomas's answer into the ring. Enter this into your terminal and the answer will be pretty obvious.

lshw -class CPU | grep -i "width"
neanderslob
  • 1,475
  • 1
  • 11
  • 15
0

One of the best ways of knowing this is, using the lscpu command

lscpu

Output

mir@Dell:~$ lscpu
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   45 bits physical, 48 bits virtual
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:                           78
Model name:                      Intel(R) Core(TM) i3-6006U CPU @ 2.00GHz
Stepping:                        3
CPU MHz:                         1992.004
BogoMIPS:                        3984.00
Hypervisor vendor:               VMware
Virtualization type:             full
L1d cache:                       64 KiB
L1i cache:                       64 KiB
L2 cache:                        512 KiB
L3 cache:                        3 MiB
NUMA node0 CPU(s):               0,1

Architecture: x86_64 -> This means you are currently running a 64-bit OS

CPU op-mode(s): 32-bit, 64-bit -> This means your CPU is capable of running both 32-bit and 64-bit OS

Identify 32-bit or 64-bit

Architecture: X86, i686, i386  -> 32-bit OS

Architecture: X64, amd64, X86_64 -> 64-bit OS

0

'lm' stands for long mode, if it present, it's x64:

grep -o -w 'lm' /proc/cpuinfo | sort -u
radioxoma
  • 243
0

If you have an Intel processor, they provide their own site with tons of information of each processor, called the Intel ARK. Just search for your processor there, and it will have a section called Intel 64, with either a yes or no box.

For AMD processors, here is a list of all their processors, and by pressing View Details you can see if it is 64-bit capable.

0

The way I usually do it is by googling the cpu. You can pull the CPU from the BIOS and a look for the specs from Intel, Newegg, etc.

dzampino
  • 928