how to verify if the OS installed is a 32bit or 64 bit?
Posted on 2009-02-18
My server has rhel 5.2 installed.
i entered the command
# getconf LONG_BIT and got the output as 64, so i decided the OS is a 64 bit, but i wanted 32 bit OS, so I got a new 32 bit OS image and after installation, I entered getconf LONG_BIT and i got the output as 64.
To make sure I reinstalled the OS with both 64 bit image and 32 bit image again and i see the same output.
I am wondering if i am looking at the correct place to verify the type of OS installed.
Please let me know how to verify whether a OS is 32 or 64 bit.
Thanks in advacne