How can I check if a UNIX O/S is 64-bit or not?




a) O/S PLATFORM: AIX
 
COMMAND: lslpp -L  | grep 64bit
 
RESULT: "bos.64bit"
 
NOTE: If a response does not appear then it could be 32-bit or a UNIX 
administrator will need to do more research.
 
b) O/S PLATOFORM: HP
 
COMMAND: getconf  KERNEL_TS  or getconf KERNEL_BITS
 
RESULT: "64"
 
NOTE: The response can also be "32" for the operating system.
 
c) O/S PLATOFORM: SOLARIS
 
COMMAND: /bin/isainfo -kv
 
RESULT: "64-bit sparcv9 kernel modules"
 
NOTE: If command does not exist, it is not 64-bit.
 
d) On linux

uname -m

i386 or i686                      then it is 32 bit
x86_64                              is 64bit

Post a Comment

And that's all there is to it!

If anyone has any other questions or requests for future How To posts, you can either ask them in the comments or email me. Please don't feel shy at all!

I'm certainly not an expert, but I'll try my hardest to explain what I do know and research what I don't know.

Previous Post Next Post