Find out if processor is 32bit or 64 (Linux)
Q. How can I find out if my processor is 64 bit or 32, under linux.
A. Open shell and type:
cat /proc/cpuinfo
You will get an output, most likely of more than one CPU. Let's just pick one and look at it:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 2.80GHz
stepping : 10
cpu MHz : 2799.990
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 5
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 lm constant_tsc pebs bts pni dtes64 monitor ds_cpl cid cx16 xtpr lahf_lm
bogomips : 5599.98
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:
Look for lm (Long Mode) under flags - if you can see it, you have a 64 bit CPU, if not, it is a 32 bit one.
If you want to know which version of OS you are running (32bit or 64bit), type in:
uname -a
32 bit:
Linux ubuntu 2.6.24-19-server #1 SMP Wed Aug 20 23:54:28 UTC 2008 i686 GNU/Linux
64 bit:
Linux ubuntu 2.6.32-28-server #55-Ubuntu SMP Mon Jan 10 23:57:16 UTC 2011 x86_64 GNU/Linux
It will say "i686" for 32bit and "x86_64" for 64bit.
Do I have VT support?
Find out if your system supports Hyper-V by running the following commands.
On Intel based processors:
grep vmx /proc/cpuinfo
For AMD based processors, run the following command:
grep svm /proc/cpuinfo
uname -a
each give similar information about the system