Here are the steps to identify whether you are running a 32-bit or 64-bit kernel.
- getconf KERNEL_BITS will return whether it is a 32 bit or 64 bit.
hpux1 # getconf KERNEL_BITS
32 –> 32-bit
hpux2 # getconf KERNEL_BITS
64 –> 64-bit
- Check the vmunix’s filetype.
hpux1 # file /stand/vmunix
/stand/vmunix: PA-RISC1.1 executable --> 32-bit
hpux2 # file /stand/vmunix
/stand/vmunix: ELF-64 executable --> 64-bit