HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

32 bit or 64 bit

 
SOLVED
Go to solution
Vinod Tandon
Occasional Advisor

32 bit or 64 bit

Hi experts,
How can i check if my HP-UX 11.11 release is 32 bit or 64 bit OS?

Also, I know it is PA-RISC kind but how do i verify using commands?

Thanks in advance for your help.
6 REPLIES
James R. Ferguson
Acclaimed Contributor

Re: 32 bit or 64 bit

Hi Vinod:

# getconf KERNEL_BITS

...will tell you the "bitness" of your current kernel, e.g. "64"

# getconf HW_CPU_SUPP_BITS

...will tell you the "bitness" your hardware will support, e.g. "32/64"

Regards!

...JRF...
Vinod Tandon
Occasional Advisor

Re: 32 bit or 64 bit

Thanks JRF.
And how do i see if it is HP-UX PA-RISC or HP-US TRU64?
James R. Ferguson
Acclaimed Contributor
Solution

Re: 32 bit or 64 bit

Hi (again):

> And how do i see if it is HP-UX PA-RISC or HP-US TRU64?

# uname -a

...tells the tale. See the manpages.

Regards!

...JRF...
Patrick Wallek
Honored Contributor

Re: 32 bit or 64 bit

If it is HP-UX and it is version 11.11, then it is ONLY PA-RISC.

There is no such thing as HP-UX for TRU64 architecture. HP-UX only runs on PA-RISC and Itanium servers.

TRU64 architecture is TRU64 Unix only.

Re: 32 bit or 64 bit

>How can I check if my HP-UX 11.11 release is 32 bit or 64 bit OS?

If you have recent hardware and HP-UX versions newer than 11.11, they only come in black, 64 bit.

uname -a and model(1) will show you what architecture.
rick jones
Honored Contributor

Re: 32 bit or 64 bit

Which is to say that after 11.11 (11i v1) the HP-UX *kernel* is 64-bit only and so is supported only on processors capable of 64-bit pointer (LP64) operation. So, by defintion if you are running 11iv2 or 11iv3 you are running on 64-bit capable hardware. That said, one can still run 32-bit applications on top of a 64-bit HP-UX kernel.
there is no rest for the wicked yet the virtuous have no pillows