Linux: Check CPU / OS running 32 or 64 bit
Feb.24, 2009 in
Think Linux
To check your cpu whether it is running 32 or 64 bit,
cat /proc/cpuinfo | grep lm
there should be a “lahf_lm” flag for 64 bit cpu.
To check the kernel,
uname -a | grep 64
there should be a “x86_64″ for 64 bit OS.












Leave a Reply