Friday, June 7, 2013

How to find Linux kernel 32 or 64 and CPU 32 or 64 ?

To check Kernel
uname -m
x86_64 ==> 64-bit kernel
i686   ==> 32-bit kernel
or more detail info by : 
unamme -a

To check CPU
cat /proc/cpuinfo
or:
grep flags /proc/cpuinfo
Under "flags" parameter, you will see various values. Among them, one is named "tm(transparent mode)" or "rm(real mode)" or "lm(long mode)"
rm ==> 16-bit processor
tm ==> 32-bit processor
lm ==> 64-bit processor
Note: you can have a 64-bit CPU with a 32-bit kernel installed

No comments:

Post a Comment