Operating System - HP-UX
1832856 Members
3000 Online
110047 Solutions
New Discussion

Re: 32 bits or 64 bits....

 
SOLVED
Go to solution
Jonathan Caplette_1
Super Advisor

32 bits or 64 bits....

Hi guys!!

How can I determine that a system is set to operate in 32 bits or 64 bits???

Thanks
Jonathan
14 REPLIES 14
Jonathan Caplette_1
Super Advisor

Re: 32 bits or 64 bits....

OK thanks Pete, getconf KERNEL_BITS work fine....

Now, I have a compiled application (PeopleSoft 7.5) on an old box running HP-UX 10.20, so I supposed this app is running in 32 bits... Now I want to transfert that application on a new system running HP-UX 11... will it be possible???

Pete Randall
Outstanding Contributor
Solution

Re: 32 bits or 64 bits....

I borrowed this from Procura's FAQ:

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 >

HP-UX 10.20 does not support 64bit objects



Pete

Pete
Helen French
Honored Contributor

Re: 32 bits or 64 bits....

This command will tell you:

# getconf KERNEL_BITS
Life is a promise, fulfill it!
John Poff
Honored Contributor

Re: 32 bits or 64 bits....

Hi,

One other way to check is to run Glance and go to the system tables screen [press 't' if you are running the character version]. The bitness of the installed OS is shown on the second screen. The advantage of this method, if you have Glance installed, is that you don't have to be root to get the answer.

JP
Helen French
Honored Contributor

Re: 32 bits or 64 bits....

If you are looking for Server's and Workstation support matrix for 32/64 bit OS, then check here:

http://devrsrc1.external.hp.com/STK/serversupport.html

http://www.hp.com/workstations/risc/operating/support_matrix/update.html
Life is a promise, fulfill it!
Pete Randall
Outstanding Contributor

Re: 32 bits or 64 bits....

Jonathan,

Sure, your 32 bit app will run fine.

Pete

Pete
Pete Randall
Outstanding Contributor

Re: 32 bits or 64 bits....

Actually, I should say that your application will *probably* run fine. I've copied many apps over to 11.0 and 11i systems without problem.

Your best bet is to double-check with PeopleSoft.


Pete

Pete
H.Merijn Brand (procura
Honored Contributor

Re: 32 bits or 64 bits....

Another good reason to have my 'ux' script handy (get it from https://www.beepz.com/personal/merijn/ or http://www.cmve.net/~merijn/)

a5:/ 101 # ux
a5 HP-UX 11.00/64 U 9000/800/A500-7X/64 PA8700/750(2) pa-2.0 2048 Mb
a5:/ 102 #


Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Hai Nguyen_1
Honored Contributor

Re: 32 bits or 64 bits....

Jonathan,

Another way to find out whether your OS mode is 64-bit is to run:

# /opt/ignite/bin/print_manifest

Hai
SGUX
Valued Contributor

Re: 32 bits or 64 bits....

to determine if system is running 32 or 64-bit kernel via SAM, do ;

- Performance Monitors
- System Properties
- go to TAB ; Operating System
- check OS Kernel Width

although in my opinion
command line is faster
Robert Gamble
Respected Contributor

Re: 32 bits or 64 bits....

More commands that will work:

getconf KERNEL_BITS

or

getconf MACHINE_MODEL
Marco Santerre
Honored Contributor

Re: 32 bits or 64 bits....

Jonathan

I would agree with Pete that it is most likely that your program, especially a program widely known as PeopleSoft will *likely* work on 64-bits machine. But if you are running 11.0, I would also check to see if HP-UX 11.0 has been loaded in 32 or 64 bits. But again, and like Pete said, check with your PeopleSoft people, to make sure of any "gotchas".
Cooperation is doing with a smile what you have to do anyhow.
Jonathan Caplette_1
Super Advisor

Re: 32 bits or 64 bits....

Ok thanks guys.. many of you answered my question!!!

Merci!
Thanks!
Jonathan
rick jones
Honored Contributor

Re: 32 bits or 64 bits....

FWIW, the liklihood of KERNEL_BITS returning 32 is diminishing every day. The only place where one can find a system running 11.X and a 32-bit kernel is on systems with PA-8000 and PA-8200 CPUs (ie D's, K's, R's and "three digit letter workstations"). Any system with a PA-8500 or later CPU, including IPF, and running 11.X will be running a 64-bit kernel. At least anything running in an HP supported configuration.
there is no rest for the wicked yet the virtuous have no pillows