System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Compare Active CPU's to Physical CPU's

 
Simpson
Occasional Advisor

Compare Active CPU's to Physical CPU's

Guys/Girls,

I am trying to find a way to query my server to see how many CPU's are acutally physically installed on the box. Take this value and compare it to what the O/S is acutally using. Example. I can view 8 processors on the box from the GSP/MP but ioscan only sees 3.

Can this be done from the command line so I can script it?

BTW. The hardware types are Rp7420's and rp4440's.

Thanks as always.
Mike
4 REPLIES
Avinash20
Honored Contributor

Re: Compare Active CPU's to Physical CPU's

http://sysdigg.blogspot.com/2007/12/how-to-check-cpu-in-hp-ux-from-command.html
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Compare Active CPU's to Physical CPU's

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=799857
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
TTr
Honored Contributor

Re: Compare Active CPU's to Physical CPU's

You can not access the GSP/MP prompt from the OS command line. The GSP is a small computer on its own separate from the server. About the only thing I can think of is to telnet/ssh from the server OS over the local network to the iLO or the remore console and script enough commands to give you the output you want. But I would not suggest you do that, it is insecure and there is no consistency in the GSP commands and menus across servers and scross GSP versions.
I don't know what you are after but if you want to track any CPUs that are taken off service and are disabled after they have failed, there should be plenty of hardware messages in the OS if a CPU fails.
Simpson
Occasional Advisor

Re: Compare Active CPU's to Physical CPU's

Thanks to everyone who replied, I ended up figuring out what I wanted by using cstm.
# echo "sel dev 1;info;wait;infolog"

Then review the output section on CPU.

CPU Information:

Number of CPUs in the system = 4

CPU Map

cpu -----------------------------------------

slot | 00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 |

state|caM |ca | C| C| | | | |

-----------------------------------------

| 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 |

state| | | | | | | | |

-----------------------------------------

c - Configured (CPU powered on)

d - De-configured (CPU powered off)

a - Active (configured and processes running)

i - Inactive (configured and idle)

M - Monarch CPU (always Active)

C - Marked for re-configuration (Configured after next boot)

D - Marked for de-configuration (De-configured after next boot)