1832920 Members
3243 Online
110048 Solutions
New Discussion

32bit - 64bit

 
kholikt
Super Advisor

32bit - 64bit

Hi,

Other than uname -a how could I find out whether I am running 32 bit or 64 bit of HPUX.

From the uname -a output it doesn't seem to be useful
abc
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: 32bit - 64bit

Hi:

# get_conf KERNEL_BITS

Regards!

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: 32bit - 64bit

HI (again):

Sorry, I meant:

# getconf KERNEL_BITS

...JRF...
Michael Tully
Honored Contributor

Re: 32bit - 64bit

Hi,

Another way it can be done is

# /usr/sbin/swlist -a revision | grep -i eng

If the system is 64 bit it will return

HPUXEng64RT B.11.00.01

If it is 32 bit it will return

HPUXEng32RT B.11.00

HTH
-Michael
Anyone for a Mutiny ?
Dave La Mar
Honored Contributor

Re: 32bit - 64bit

I do not understand the one point for James.
# getconf KERNEL_BITS
will return 64 or 32.
I beleive that is what you asked.
If you require more please advise.
dl
"I'm not dumb. I just have a command of thoroughly useless information."