Showing posts with label processor. Show all posts
Showing posts with label processor. Show all posts

Friday, November 15, 2013

Find out if Processor / CPU is 64 bit or 32 bit

0 comments

 
Find out if Processor / CPU is 64 bit or 32 bit

How do I determine if my CPU is 64bit or 32bit under Linux operating systems ?

I’m sure there are many ways to do it, but I choose just two methods.
We will begin with the easiest one.

Method one:

A simple command gives you an output that if your Processor supports 64bit
This is the command:
lscpu | grep “CPU op-mode”
The output will be like that:
CPU op-mode(s): 32-bit, 64-bit
It means that my Cpu supports both 32bit 64bit.
Now we move to next Method.

Method two:

This is the command
grep flags /proc/cpuinfo
will give you an output like this
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 nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm 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 nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm 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 nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm 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 nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
CPU Modes:
  • lm flag means Long mode cpu – 64 bit CPU
  • Rm flag means Real mode 16 bit CPU
  • Pm flag means Protected Mode is 32-bit CPU
In our case we have Lm which means we have supports for 64bit 
Enhanced by Zemanta


     
Read more...