Possible Duplicate:
How do I know that my CPU supports 64bit operating systems under Linux?
I am running Debian Squeeze, how can I determine whether my processor is 64 or 32-bit? I'm thinking of downloading a 64-bit OS because it's said to perform better.
lm
flag is there, that means your system supports 64-bit. – Renan May 11 '12 at 12:37uname -m
refers to the architecture of the currently running kernel, if you'rre running a 32-bits kernel it will showi686
even if you CPU supports 64-bit. – Renan May 11 '12 at 12:45uname -m
can even showi686
to a process on an x86_64 processor running an x86_64 kernel, if the process (or an ancestor) calledsetpersonality
. – Gilles 'SO- stop being evil' May 11 '12 at 23:11setpersonality
. Very interesting – Renan May 11 '12 at 23:41uname -p
(as in--processor
) per this Linux man page I stumbled upon with Google. Another fun diversion isuname -a
and then try to remember which options correspond to which returned values. ;-) – irrational John May 12 '12 at 06:07