To Find your HP-UX kernel 32 bit or 64 bit

Itanium is 64 bit all the way but PARISC processors come in 32bit and 64bit varieties, it can be important to verify which of these the current kernel is (32bit or 64bit).
One can use the command getconf to get the number of bits used by the currently running kernel:
$ getconf KERNEL_BITS
64


One can also get the number of bits supported by the hardware, as well as find out if the hardware supports a 32-bit as well as 64-bit mode:
$ getconf HW_CPU_SUPP_BITS
64



$ getconf HW_32_64_CAPABLE
1

Another way to get this done is to use the print_manifest though you need to be root to run this command:

# print_manifest | grep -i "os mode"
    OS mode:            64 bit


However, since the print_manifest command documents the entire system, it takes a lot longer than the getconf command does.
SHARE

sangeethakumar

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment