Operating System - HP-UX
1847195 Members
4630 Online
110263 Solutions
New Discussion

HP-UX 11.0 64 bit or 32 bit ?

 
SOLVED
Go to solution
nagendra_3
Advisor

HP-UX 11.0 64 bit or 32 bit ?

Hi,
How can i know if HP-UX B.11.00 U 9000/889 is a 64 bit or a 32 bit ?.

I have read in few forms that an application can also be 64 bit and 32 bit. Are all the java application 64 bit ?. I am running Jrun 3.1 application server, could one of you tell me if this is a 64 bit or 32 bit.

If u could point me to the best place to know about what 64 bit and 32 bit means, greatly appreciate it.

Appreciate your help

Tks, Nag
Knowledge is Power
9 REPLIES 9
Mark Grant
Honored Contributor

Re: HP-UX 11.0 64 bit or 32 bit ?

"getconf KERNEL_BITS" will report the number bits.
Never preceed any demonstration with anything more predictive than "watch this"
RAC_1
Honored Contributor

Re: HP-UX 11.0 64 bit or 32 bit ?

getconf KERNEL_BITS.
file /stand/vmunix
There is no substitute to HARDWORK
Robert-Jan Goossens
Honored Contributor

Re: HP-UX 11.0 64 bit or 32 bit ?

Hi Nag,

Does my system support 64bit builds
You can find out if your kernel supports 64bit binaries by issuing:

a5:/usr/local 110 > file /stand/vmunix
/stand/vmunix: ELF-64 executable object file - PA-RISC 2.0 (LP64)
a5:/usr/local 111 > getconf KERNEL_BITS
64
a5:/usr/local 112 > getconf HW_32_64_CAPABLE
1
a5:/usr/local 113 >


http://www.cmve.net/~merijn/

Regards,
Robert-Jan
Pete Randall
Outstanding Contributor

Re: HP-UX 11.0 64 bit or 32 bit ?

Nag,

getconf KERNEL_BITS will tell if the machine is capable.

I believe using the file command on the executable should also tell you what bitness it is.


Pete

Pete
Jeff Schussele
Honored Contributor
Solution

Re: HP-UX 11.0 64 bit or 32 bit ?

Hi Nag,

Run the following
getconf KERNEL_BITS
to determine whether the OS is 32/64 bit.

To determine whether an executable is 32/64 bit - run
file exe_name
If it comes back anything else than ELF 64, then it's 32-bit

And 64 bit is ALL about addressability of larger memory segments. It not usually about performance.

A 64 bit OS can run 32 and 64 bit SW. A 32bit OS can *only* run 32 bit SW.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
nagendra_3
Advisor

Re: HP-UX 11.0 64 bit or 32 bit ?

Great and quick response, Thanks a lot.

One more question.So looks like i am using 64 bit OS.

our JVM( 1.3.1.0.2) has thrown an error saying the MAXDSIZE needs to be checked. I belive as the OS is 64 bit , i would have to adjust MAXDSIZE_64BIT rather than MAXDSIZE .

So is it MAXDSIZE_64BIT to be changed( or )
MAXDSIZE
Thanx again..:)

Tks,
Nag
Knowledge is Power
Mark Grant
Honored Contributor

Re: HP-UX 11.0 64 bit or 32 bit ?

It should be the 64 bit maxdsize as you say.
Never preceed any demonstration with anything more predictive than "watch this"
Pete Randall
Outstanding Contributor

Re: HP-UX 11.0 64 bit or 32 bit ?

Nag,

Correct: MAXDSIZE_64BIT



Pete

Pete
Robert-Jan Goossens
Honored Contributor

Re: HP-UX 11.0 64 bit or 32 bit ?

Nag,

Europe:
http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066919073

US:
http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066919073

Which max?siz kernel parm to use for 32bit app on a 64bit kernel DocId: KBRC00001954


Hope this helps,
Robert-Jan