1825793 Members
2263 Online
109687 Solutions
New Discussion

hp-ux

 
SOLVED
Go to solution
guru_1
Frequent Advisor

hp-ux

Hi,
Can anybody let me know .How do i find out whether i am running 64 bit or 32 bit HP OS.

THNKS
7 REPLIES 7
Wilfred Chau_1
Respected Contributor
Solution

Re: hp-ux

use getconf
# getconf KERNEL_BITS
Steven Sim Kok Leong
Honored Contributor

Re: hp-ux

Hi,

Some methods:

# getconf KERNEL_BITS
64

# /usr/sbin/swlist | grep -e "HP-UX" -e "Runtime Environment"

Hope this helps. Regards.

Steven Sim Kok Leong

Re: hp-ux

Hi,
You can also use : /opt/ignite/bin/print_manifest | grep "OS mode"

tnx,
Raghu.
Unix is not for those who donot love Unix!
guru_1
Frequent Advisor

Re: hp-ux

THNKS FOR THE RESPONSE.
meng_1
Advisor

Re: hp-ux

Hi U can use a simple command
# swlist |grep 'HP-UX'

then U can find the if in 64bit or 32bit.

Best Regards,
Meng
xujun
Advisor

Re: hp-ux

getconf KERNEL_BITS can only be used on hpux11.0 . But how to do on hpux10.20?
Patrick Wallek
Honored Contributor

Re: hp-ux

xujun,

If you are running HP-UX 10.20, then you are running 32-bit. There is no option for 64-bits on 10.20. It is a 32-bit OS only.