1839827 Members
2647 Online
110156 Solutions
New Discussion

Re: kernel bit

 
SOLVED
Go to solution
Shivkumar
Super Advisor

kernel bit

How to find that whether hpux kernel is 64bit or 32 bit ?

Thanks,
Shiv
5 REPLIES 5
Sandman!
Honored Contributor
Solution

Re: kernel bit

Either of the two commands should give you what you're looking for:

# getconf KERNEL_BITS

# swlist -l bundle | grep -i hpuxeng
Robert-Jan Goossens
Honored Contributor

Re: kernel bit

Shiv,

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

More faqs on Merijn's/Procuras page.

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

Regards,
Robert-Jan
Devender Khatana
Honored Contributor

Re: kernel bit

Hi Shiv,

The simplest is

#getconf KERNEL_BITS

HTH,
Devender
Impossible itself mentions "I m possible"
Sandman!
Honored Contributor

Re: kernel bit

Shiv,

You can get this info through SAM as well:

SAM -> Performance Monitors -> System Propeties
Mahesh Kumar Malik
Honored Contributor

Re: kernel bit

Hi Shiv

Follwoing is command to know kernel bits:

#getconf KERNEL_BITS

Regards
Mahesh