Operating System - HP-UX
1834788 Members
2898 Online
110070 Solutions
New Discussion

Re: How to tell if 11.x was loaded as 32 bit or 64 bit

 
Mike Seerden_3
Occasional Advisor

How to tell if 11.x was loaded as 32 bit or 64 bit

We have a new N class server inherited from another group and need to know if
they where smart and loaded 11.x in 64 bit or 32 bit form. Any utils that will
tell this info. Thanks for your help.
4 REPLIES 4
Melvyn Burnard_1
Regular Advisor

Re: How to tell if 11.x was loaded as 32 bit or 64 bit

The HP9000 N-Class server only supports 64bit version of HP-UX 11.x
It cannot run the 32bit version of the Operating System.
However, if in the future you would like to investiaget any other system, the
following steps can be done:

login as root
issue the command:
getconf KERNEL_BITS
this will give you the result you need as per the following examples:
32bit on R-class
hpwing04 # getconf KERNEL_BITS
32
hpwing04 #
64bit on V-class
[melvyn@hpwing27] getconf KERNEL_BITS
64
[melvyn@hpwing27
Dan Hull
Regular Advisor

Re: How to tell if 11.x was loaded as 32 bit or 64 bit

In the vien of Melvyn's answer, you can see if a given machine will support 32
bits, 64 bits, or both:

# getconf HW_CPU_SUPP_BITS

This will only work on an 11.x system.
Mike Seerden_3
Occasional Advisor

Re: How to tell if 11.x was loaded as 32 bit or 64 bit

Thanks you both for your help. I also found a file called .supported_bits that
lists most systems and what bit level they will support.
Robert Gamble_3
Regular Advisor

Re: How to tell if 11.x was loaded as 32 bit or 64 bit

getconf does not show if HP-UX was loaded at 32 or 64 bit. It only shows what
the CPU will support.

example, on my D390/2way, getconf HW_CPU_SUPP_BITS returns: 32/64. Meaning that
CPU supports 32 or 64 bit versions of the OS.

One way to determine what kernel width is installed, go into SAM ->Performance
Monitors ->System Properties ->Operating System . That will display the
installed kernel width.

Good Luck!