Operating System - HP-UX
1833792 Members
2681 Online
110063 Solutions
New Discussion

How to retrive information if HW / OS is 32 or 64 bit?

 
SOLVED
Go to solution
Herbert Loevenich
Frequent Advisor

How to retrive information if HW / OS is 32 or 64 bit?

I would like to capture the information about Hardware architecture
e.g. 9000/800:32/64
and the installed Operating System
e.g. HP-UX:32 B.11.00

The most important information i would like to
retrive the information if it is 32 or 64 bit,
hardware and which OS version has been installed. This information is visible in software distributor, but i would like to get it from command line.
50% of all problems are based on communication issues, lets talk
6 REPLIES 6
yogesh_4
Regular Advisor

Re: How to retrive information if HW / OS is 32 or 64 bit?

You can use #uname -a command. For more detail refer the man pages of uname .

Michael Tully
Honored Contributor
Solution

Re: How to retrive information if HW / OS is 32 or 64 bit?

The following table gives what hardware can officially run what

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

As far as the command line is concerned:

# getconf KERNEL_BITS (current OS bits)

# getconf HW_CPU_SUPP_BITS (whether your system is capable of running 32 or 64 bit. If it can run both it will answer

32/64
Anyone for a Mutiny ?
Herbert Loevenich
Frequent Advisor

Re: How to retrive information if HW / OS is 32 or 64 bit?

Unfortunately uname -a doesn't give the detailed information.
HP-UX a7server B.11.00 A 9000/800 2007074959 two-user license

I'm looking for 32/64 bit.
50% of all problems are based on communication issues, lets talk
Ollie R
Respected Contributor

Re: How to retrive information if HW / OS is 32 or 64 bit?

Hi Herbert,

Use "model" to find the hardware type.

Use "getconf KERNEL_BITS" to get 32 or 64 bit.

Use "uname -a" to get OS version.

Ollie.
To err is human but to not award points is unforgivable
twang
Honored Contributor

Re: How to retrive information if HW / OS is 32 or 64 bit?

To find out if kernel supports 64bit binaries by issuing
# file /stand/vmunix
# getconf KERNEL_BITS

To find out the processor info:
# ioscan -fnkC processor
# echo "selclass qualifier cpu;infolog" | /usr/sbin/cstm | grep "CPU Module"

processor type:
# model

processor speed:
# echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem

To find out OS details:
# uname -a





T G Manikandan
Honored Contributor

Re: How to retrive information if HW / OS is 32 or 64 bit?

#getconf KERNEL_BITS for the present OS bit

#getconf HW_CPU_SUPP_BITS

#getconf HW_32_64_CAPABLE

Also you can check /etc/.supported_bits to check whether you machine can support 64 bits



Thanks