Operating System - HP-UX
1833861 Members
2473 Online
110063 Solutions
New Discussion

Re: CPU version for rp8400

 
Telefonica OSI
Occasional Advisor

CPU version for rp8400

I'm trying to make a tiny script to get the CPU version from an rp8400 (AKA S16K-A), whith hpux 1123v2. SAM gets PA8700 3.1. Good.
So lets do it as always: grep the "model" output through /usr/sam/lib/mo/sched.models. But, to my surprise, there is no referenece there to S16K-A, nor rp8400. Anybody knows a way to get it different than the recurrent "if not found then it's a PA8700"? Anyone knows what files does SAM get based on to get it? I've grepped through the binaries, text files and libraries, to reverse engineer it with no success.
Thanks.
2 REPLIES 2
Robert-Jan Goossens
Honored Contributor

Re: CPU version for rp8400

Hi Javier,

Title: Processor not supported in SAM's sched.models file
Document ID: 8606389956

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000078177682

# echo "selclass qualifier cpu;infolog" | /usr/sbin/cstm | grep "CPU Module"

Best regards,
Robert-Jan
Telefonica OSI
Occasional Advisor

Re: CPU version for rp8400

Thanks for the reply.
The "echo" command gives a "Module Type: 0" (with a little variation on the last grep). Not much information to be read by a human being ;)
I already checked that and other documents. Just wandering if someone KNOWS how to get it without modifiying the sched.models file. You know, more or less, if SAM is capable to do it, maybe someone else is capable too.