1837168 Members
2661 Online
110113 Solutions
New Discussion

Re: CPU

 
P.V.Ramesh
Advisor

CPU

Hi

How do i know the CPU type in HP OS.

example, a machine is containg a processor type PA-8700. Through which command i can get this information.

Appreciate your help.
24 REPLIES 24
James Beamish-White
Trusted Contributor

Re: CPU

Hiya,

Take a look at http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x15b53a7b3682d611abdb0090277a778c,00.html

And remember, you can search these forums too :-)

Cheers!
James
GARDENOFEDEN> create light
harry d brown jr
Honored Contributor

Re: CPU

You should start by reading http://66.216.15.50/ITRCForumsEtiquette/after.html

live free or die
harry
Live Free or Die
Victor_5
Trusted Contributor

Re: CPU

getconf CPU_CHIP_TYPE
getconf MaCHINE_MODEL #get info about cpu speed

man getconf for more.
Shannon Petry
Honored Contributor

Re: CPU

In HP-UX 11, and 11i
getconf CPU_CHIP_TYPE

Regards,
Shannon
Microsoft. When do you want a virus today?
RAC_1
Honored Contributor

Re: CPU

getconf CPU_CHIP_TYPE
and addtional info with
echo "selclass qualifier cpu;info;wait;infolog"|cstm > cpu.info
Check cpu.info file
There is no substitute to HARDWORK
P.V.Ramesh
Advisor

Re: CPU

In my machine the output of the command getconf CPU_CHIP_TYPE is gives 586. I am sure this wrong answer. The machine which i am using is hp9000/800/N-Class.


The suggestions what you all posted is not worked out.
Jeff Schussele
Honored Contributor

Re: CPU

Hi P.V.,

Anil has the answer with the cstm command.
Either check the file - it'll be large OR
grep PA cpu.info
you'll get the model.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
P.V.Ramesh
Advisor

Re: CPU

Jeff

It doesn't work. I didn't find PA information.

Paula J Frazer-Campbell
Honored Contributor

Re: CPU

Hi

echo "selclass qualifier cpu;info;wait;infolog"|cstm > cpu.info | grep PA

Paula

If you can spell SysAdmin then you is one - anon
Sandip Ghosh
Honored Contributor

Re: CPU

Run STM
select cpu
go to tools
run info

It will tell you the cpu name at last portion. If you don't have stm, download online diaggonostics from HP for free.

Sandip
Good Luck!!!
Shannon Petry
Honored Contributor

Re: CPU

The getconf CPU_CHIP_TYPE as I stated is only available in HP-UX 11, and 11i
in 10.20 use sam to find this information, or stm.
NOTE: I have seen corruptions in 10.20 which will cause failures looking at cpu information. Make sure your fully patched!

Also, 10.20 is not far from being phases off of support. You may want to look at upgrading soon.

BTW: Nice prod Harry! I really like that one!

Please take the time to refer to the URL that Harry's post pointed to.

Regards,
Shannon
Microsoft. When do you want a virus today?
Pete Randall
Outstanding Contributor

Re: CPU

Here's another prod for you, Shannon.

Assign points!!!

Pete
Pete Randall
Outstanding Contributor

Re: CPU

And I certainly didn't mean to direct that at you, Shannon - it was intended for P.V.

Pete
Shannon Petry
Honored Contributor

Re: CPU

Aye Pete... Those are the prods I find in bad taste on the forums. Harry's is nice, subtle and not rude. Could be even considered a bit mis-leading.

Im usually very against prods fer points, but that one I definately give 2 thumbs up!

Shannon
Microsoft. When do you want a virus today?
Pete Randall
Outstanding Contributor

Re: CPU

Shannon,

That's why I don't usually prod - I'm not real good at subtle.

Reverting to silent mode,
Pete

Pete
Sanjay_6
Honored Contributor

Re: CPU

Hi,

Try this,

# model
9000/800/N4000-36

# grep N4000-36 /usr/sam/lib/mo/sched.models
N4000-36 2.0 PA8500

Hope this helps.

Regds
Shannon Petry
Honored Contributor

Re: CPU

Pete,

Perhaps with Harry's permission we could all cut-paste that into signatures or prods? works well in my opinion. ;)

Shannon
Microsoft. When do you want a virus today?
H.Merijn Brand (procura
Honored Contributor

Re: CPU

FWIW

# getconf MACHINE_MODEL

does not work on 10.20

# model

does

All these answers could have been found on https://www.beepz.com/personal/merijn/#FAQ
Enjoy, Have FUN! H.Merijn
H.Merijn Brand (procura
Honored Contributor

Re: CPU

And - maybe HP should read this :) - look at this:

< = 3648 Sep 20 2001 /opt/langtools/lib/sched.models
> = 4285 Jun 9 2001 /usr/sam/lib/mo/sched.models


0a1
> /* @(#) $Header: /samsrc/mo/data/sched.models 73.17.1.3 2001-05-30 15:57:30-06 tkopren Exp $ */
4c5
< 700 2.0 PA8000
---
> 700 1.1 PA7000
29,31c30
< 783 2.0 PA8500
< 785 2.0 PA8500
< 800 1.1e PA7300
---
> 800 1.0 PA7000
88,89d86
< 895 2.0 PA8000
< 896 2.0 PA8000
93,95c90,102
< ; VERSION A.00.08
< A180 1.1e PA7300
< A180C 1.1e PA7300
---
> A180 1.1e PA7300LC
> A180c 1.1e PA7300LC
> A400-36 2.0 PA8500
> A400-44 2.0 PA8500
> A400-5X 2.0 PA8600
> A400-7X 2.0 PA8700
> A400-8X 2.0 PA8700
> A500-36 2.0 PA8500
> A500-44 2.0 PA8500
> A500-55 2.0 PA8600
> A500-5X 2.0 PA8600
> A500-7X 2.0 PA8700
> A500-8X 2.0 PA8700
100d106
< B132L+ 1.1e PA7300
102,103c108,109
< B180L 1.1e PA7300
< B2000 2.0 PA8600
---
> B2000 2.0 PA8500
> B2600 2.0 PA8700
113d118
< C180+ 2.0 PA8200
120c125,126
< CB260 2.0 PA8200
---
> C3700 2.0 PA8700
> C3750 2.0 PA8700
136c142
< D390 2.0 PA8200
---
> D390 2.0 PA8000
160,161d165
< I30 1.1a PA7000
< I40 1.1a PA7000
171d174
< J282 2.0 PA8000
175d177
< J5500XM 2.0 PA8600
176a179,181
> J6000 2.0 PA8600
> J6700 2.0 PA8700
> J6750 2.0 PA8700
200a206,223
> L1000-36 2.0 PA8500
> L1000-44 2.0 PA8500
> L1000-5X 2.0 PA8600
> L1000-8X 2.0 PA8700
> L1500-6x 2.0 PA8700
> L1500-7x 2.0 PA8700
> L1500-8x 2.0 PA8700
> L1500-9x 2.0 PA8700
> L2000-36 2.0 PA8500
> L2000-44 2.0 PA8500
> L2000-5X 2.0 PA8600
> L2000-8X 2.0 PA8700
> L3000-55 2.0 PA8600
> L3000-5x 2.0 PA8600
> L3000-6x 2.0 PA8700
> L3000-7x 2.0 PA8700
> L3000-8x 2.0 PA8700
> L3000-9x 2.0 PA8700
202a226,233
> N4000-55 2.0 PA8600
> N4000-5X 2.0 PA8600
> N4000-6X 2.0 PA8700
> N4000-7X 2.0 PA8700
> N4000-8X 2.0 PA8700
> N4000-8Y 2.0 PA8700
> N4000-8Z 2.0 PA8700
> N4000-9X 2.0 PA8700
204c235
< R390 2.0 PA8200
---
> R390 2.0 PA8000
209,211d239
< SD16000 2.0 PA8600
< SD32000 2.0 PA8600
< SD64000 2.0 PA8600
215,216d242
< T600 2.0 PA8000
< V2000 2.0 PA8000
220a247,248
> V2650 2.0 PA8700
> V2700 2.0 PA8700


Hmmmm, fun :)
Enjoy, Have FUN! H.Merijn
Andrew Morrow_1
New Member

Re: CPU


I am surprised to see that my J5600, which definitely has two PA8600 CPU's in it, reports a number via "getconfg CPU_CHIP_TYPE" that corresponds to PA8500. This must be something that is just not properly reflected in this part of the system.

For instance, stm definitely shows two CPUs, Hardware Model 0x5d1, which is listed as

PA 8600-8600 CPU 3.0

But "getconfg CPU_CHIP_TYPE" returns 554 That is 0x22a . Now there are two fields:

lower 5 bits for a "revision", which is 10, and then 6 (or maybe 12?) bits for a model.
Shifting 0x22a down by five bits, we get 0x11 .

Looking in

/usr/include/pa/pdc_rqsts.h:

#define PCXW_CPU_ID 0x11
#define PCXW_PLUS_CPU_ID 0x12

and recognizing that

http://hwdb.parisc-linux.org/

J5000 2.0 PA8500 PCX-W
J5600 2.0 PA8600 PCX-W+


So..., that explains to me why tools like

http://sandyxsystems.co.uk/scripts/code/stats160.txt

tell me that I have PA8500 in my system. I expect that for other true PA8600-based systems, this tools works.
It is really getconf (and the underlying sysconf() and who-knows-what under that) that is wrong!

Ranjit_3
Advisor

Re: CPU

Hi ,
To get the CPU Type information , i use

$tail /var/tombstones/ts90

This file will show you the type of CPU installed .


Thanks and Regards,
Ranjit


Andrew Morrow_1
New Member

Re: CPU

There are many output files in my /var/tombstones directory, but this is useful to know.

When I look at the latest file on my system, namely /var/tombstones/ts99 , it starts with these lines and then near the end:

HP-UX hpj5600 B.11.11 U 9000/785 2015621023

CPU-ID( Model ) = 0x11
----------------- Processor 0 HPMC Information ------------------

....

I/O Module Error Log Information:

No valid timestamp

No I/O module errors logged

Module Revision
------------------- --------
System Board 0
PA 8600-8600 CPU 3.0
PA 8600-8600 CPU 3.0
Mem/IO Controller 2.1
PCI Controller #0 2.1

...


But to re-iterate:

J5000 2.0 PA8500 PCX-W PCXW_CPU_ID 0x11

J5600 2.0 PA8600 PCX-W+ PCXW_PLUS_CPU_ID 0x12

so I would have expected the line

CPU-ID( Model ) = 0x12

so I am still wondering why I do not see what I expected
Andrew Morrow_1
New Member

Re: CPU

Huh. Now I see that the J5000 is upgradeable to the J5600.

http://en.wikipedia.org/wiki/HP_9000

I wonder if the two systems have "something" in common such that getconf cannot tell the difference.
rveri
Super Advisor

Re: CPU

Hi Ramesh ,

Here is a simple script (sysid.sc) that will tell you , the follwoing things,

1) System model:
2) System Serial Number:
3) Total Configured Memory :
4) CPU Info:
---------------------------

Here is a output shown:

#sysid
Finding System ID and CPU Details . . . .
By: R Veri - -


System model: 9000/800/L2000-36
System Serial Number...: USS43070TE
Total Configured Memory : 2048 MB
PA 8500 CPU Module 2.3
PA 8500 CPU Module 2.3
---------------------------

Hope this helps,
Thanks ,

R.Veri.
---------