uname -m gives i686 and uname -m gives i686 i386 output in Red Hat Enterprise Linux Server release 5.4 (Tikanga) machine. I need to install Oracle Database 10g Release 2 on that machine. So, how can I decide whether kernel architecture is 32bit or 64bit?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
||||
|
i386 and i686 are both 32-bit. example for 64 bit:
|
|||
|
|
|
@behrooz is correct. Unfortunately x86_64 GNU/Linux indicates that you've a 64bit Linux kernel running. If you use see i386/i486/i586/i686 it is a 32 bit kernel. To determine if the hardware is capable of running a 64-bit kernel
Look for the following in the output (all flags retrieved from this stackoverflow answer for the same question )
|
|||||||||||
|
|
Another way is to check the architecture some system file was compiled for, like
|
|||||||
|
uname -manduname -m? – Tshepang May 2 '11 at 17:34uname -mshows i?86, you have a 32-bit system. – Gilles May 2 '11 at 21:29getconf WORD_BIT. – Mikel May 2 '11 at 23:11getconf WORD_BITreturns 32 on my 64-bit Ubuntu – minaev May 4 '11 at 8:53