Operating System - HP-UX
1835243 Members
2463 Online
110078 Solutions
New Discussion

Re: finding the Model of the processor using command line in HPUX

 
Sarathy
New Member

finding the Model of the processor using command line in HPUX

Hi

I want to find the model of the processor and also whether it is 32 or 64 bit using command line.

what i have to do? Also I want to know whether HPUX can be installed in Itanium based systems or it can be only installed in PA-RISC based systems.

Waiting for your reply.

thanks and Regards

Parthasarathy Venkatesan.
We are responsible for what we are and whatever we wish ourselves to be.
5 REPLIES 5
Victor BERRIDGE
Honored Contributor

Re: finding the Model of the processor using command line in HPUX


# getconf HW_CPU_SUPP_BITS


All the best
Victor
spex
Honored Contributor

Re: finding the Model of the processor using command line in HPUX

Hi Parthasarathy,

echo "selclass qualifier cpu;info;wait;infolog" | cstm

We had this very question yesterday:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1039121

HP-UX is supported on both architectures.

PCS
James R. Ferguson
Acclaimed Contributor

Re: finding the Model of the processor using command line in HPUX

Hi:

# model

...will tell you the processor model

# getconf KERNEL_BITS

...will tell you the "bitness" of your current kernel, et.g. "64"

# getconf HW_CPU_SUPP_BITS

...will tell you the "bitness" your hardware will support, e.g. "32/64"

Yes, HP-UX 11.23 (11iv2) can be installed on either Itanium or PA-RISC servers.

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: finding the Model of the processor using command line in HPUX

You can also tell the type of processor (i.e. PA8800):

MODEL=$(grep -i $(model | tr "/" " " \
| awk '{print $NF}') \
/usr/sam/lib/mo/sched.models \
| awk '{print $NF}')
echo $MODEL


Pete

Pete
Andrew Merritt_2
Honored Contributor

Re: finding the Model of the processor using command line in HPUX

For the model, on IPF systems you can run
# model
or
# /usr/contrib/bin/machinfo
or
# echo "selclass qualifier system;info;wait;infolog" | cstm

(The 'cpu' STM info tool is not supported on Itanium, the functionality is in the 'system' info tool).

Itanium systems are all 64 bit, I believe.

HP-UX 11.11 (HP-UX 11i v1) runs only on PA systems, HP-UX 11.23 (HP-UX 11i v2) runs on both PA and IA (Itanium) systems.

Andrew