How to determine whether I run a 32bit or 64bit Ubuntu install?
|
feedback
|
|
Did you try uname -m ? It seems like the uname -m actually gives
Otherwise, not for the Linux kernel, but for the CPU, you type:
or:
Under "flags" parameter, you will see various values. Among them, one is named "tm(transparent mode)" or "rm(real mode)" or "lm(long mode)"
Note: you can have a 64-bit CPU with a 32-bit kernel installed" | |||
|
feedback
|
|
As sYnfo points out, you can have 64-bit cpu with 32-bit kernel. But you can also have a 64-bit kernel running 32-bit userspace. In this case the command
For most cases, you'll want to use this command instead of uname. | |||
|
feedback
|
