Operating System - HP-UX
1833555 Members
3077 Online
110061 Solutions
New Discussion

Re: How can I tell if my machine is 64 bit capable?

 
SOLVED
Go to solution
Scott Dunkley
Regular Advisor

How can I tell if my machine is 64 bit capable?

Hi,

i need to determine if one of our older servers can support a 64 bit O/S. I have used model to determine the model and know there is a file on the system somewhere that I can look the model number up in. Can someone tell me where it is please?
Better to regret something you have done, than something you havn't
9 REPLIES 9
Robert-Jan Goossens
Honored Contributor

Re: How can I tell if my machine is 64 bit capable?

Hi,

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

http://mirrors.develooper.com/hpux/

Regards,
Robert-Jan
V.Tamilvanan
Honored Contributor
Solution

Re: How can I tell if my machine is 64 bit capable?

Hi,

If you get 64 as your outputfor the below command. Your system supports 64bit O/s.

#getconf HW_CPU_SUPP_BITS
Scott Dunkley
Regular Advisor

Re: How can I tell if my machine is 64 bit capable?

when I do the getconf HW_32_64_CAPABLE I get a 3 returned not a 1, what does this mean?

Scott.
Better to regret something you have done, than something you havn't
Joseph Loo
Honored Contributor

Re: How can I tell if my machine is 64 bit capable?

hi,

as robert has pointed out.

you may also go to SAM -> Performance Monitors -> System Properties -> look at "Kernel Width Support".

regards.
what you do not see does not mean you should not believe
Joseph Loo
Honored Contributor

Re: How can I tell if my machine is 64 bit capable?

which means you are on 32 bits. did you try the command:

# getconf KERNEL_BITS
should return 32 for your case.

regards.
what you do not see does not mean you should not believe
Robert-Jan Goossens
Honored Contributor

Re: How can I tell if my machine is 64 bit capable?

Hi,

Ok here is some more info.

http://devrsrc1.external.hp.com/STK/impacts/i452.html

HW_32_64_CAPABLE
Returns a value of 1, 2, or 3 specifying whether the hardware is capable of supporting only 32-bit, 32-bit or 64-bit, or only 64-bit operation. Note that this is a hardware specific function and is not the same as HW_CPU_SUPP_BITS. The values are:
1 - 32-bit only
2 - 32-bit and 64-bit
3 - 64-bit only
Some systems that return a 2 for this function may NOT be supported by HP for 64-bit operation. Refer to the Summary of Change section for more information.

Regards,
Robert-Jan
Stefan Farrelly
Honored Contributor

Re: How can I tell if my machine is 64 bit capable?

I think the file you want is;

/usr/bin/sched.models

Anything PA-RISC 2.0 or above is 64bit capable.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Franky_1
Respected Contributor

Re: How can I tell if my machine is 64 bit capable?

Hi,

i think the simplest answer to your question is

getconf KERNEL_BITS

It tells you wether you got 32 or 64

Thanks

Franky
Don't worry be happy
Stefan Farrelly
Honored Contributor

Re: How can I tell if my machine is 64 bit capable?

Take a look at this nice HP-UX server support matrix;

http://64.233.161.104/search?q=cache:BP4MO45ih3IJ:devrsrc1.external.hp.com/STK/serversupport.html+hp-ux+version+and+server+model+support+matrix&hl=en
Im from Palmerston North, New Zealand, but somehow ended up in London...