HPUX : Identify 32-bit or 64-bit kernel

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
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

Oracle’s Direct NFS

Next Post

HP-UX : Kernel Parameter Recommendations

Related Posts