32-bit or 64-bit System
Submitted by TimBruce on Wed, 2009-04-01 17:25
How do you tell if you're running on 32-bit or 64-bit hardware?
While the command uname -a will show wether you are using a 32-bit or 64-bit Operating System (as well as possibly looking at /etc/*release), it won't tell you if your hardware is actually 64-bit or not.
Instead, look at /proc/cpuinfo by running cat /proc/cpuinfo and look for lm in the flags section. If this flag exists, it's a 64-bit architecture for your CPU.
