Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

how to find out whether os is 32bit or 64 bit

SOLVED
Go to solution
deep_tkt
Occasional Contributor

how to find out whether os is 32bit or 64 bit

Hi all,
I want know how to find out whether os is 32bit or 64 bit by using Unix command.

i am using HP-UX B.11.23 U 9000/800 1462123939 unlimited-user license

Regards,
Deep
4 REPLIES
Adisuria Wangsadinata_1
Honored Contributor
Solution

Re: how to find out whether os is 32bit or 64 bit

Hi Deep,

Good day to you !
For your system, I believe its running on 64 bits. And here is the command to confirm that one :

# getconf KERNEL_BITS

It will return 32 or 64, which indicates 32-bit or 64-bit HP-UX

Hope this information can help.

Cheers,
AW
now working, next not working ... that's unix
Peter Godron
Honored Contributor

Re: how to find out whether os is 32bit or 64 bit

Hi,
please see:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=581999
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=7892

and even on the Merijn's FAQ page:
http://mirrors.develooper.com/hpux/faq.html

From my notes:
getconf KERNEL_BITS â what version is running
getconf HW_CPU_SUPP_BITS â what version CAN be run

$ file /stand/vmunix
/stand/vmunix: PA-RISC1.1 executable ---> 32-bit
/stand/vmunix: ELF-64 executable object file ---> 64-bit

Senthil Prabu.S_1
Trusted Contributor

Re: how to find out whether os is 32bit or 64 bit

Hi,
Oneline reply - use "getconf KERNEL_BITS"
One man's "magic" is another man's engineering. "Supernatural" is a null word.
rick jones
Honored Contributor

Re: how to find out whether os is 32bit or 64 bit

the "KERNEL_BITS" bit is the "proper" way to go. those fond of trivia can note that _all_ 11.23 kernels are 64-bit kernels, and that for OSrev >= 110 on PA, only the PA-8200 and earlier CPUs "supported" a 32-bit kernel. PA-8500 and later CPUs are 64-bit kernels only. ditto for Itanium - all HP-UX kernels on Itanium hardware are 64-bit kernels.
there is no rest for the wicked yet the virtuous have no pillows