How Many CPUs? (Itanium)

I've got a dual CPU Itanium server that we use for hosting our Oracle database. It's been up and running fine for quite some time. So well, in fact, that I haven't even looked at 'top' in a while. Recently I needed to look at 'top' and I only see one CPU listed now. CPU0. Is there any other way within HP-UX 11.23 to tell how many CPUs are in the system without having to shutdown to the firmware? I would like to avoid having to boot the box tonight, but if that's the only way, then I'll do that. I don't know how long it's been running with one CPU or if the top display is even accurate. I know I did have an issue at one point where one of the CPUs became "deactivated" and I had to go into the firmware to re-activate it. Not a clue why that happened and I'm hoping that's not what happened this time.

# /usr/contrib/bin/machinfo
CPU info:
Number of CPUs = 4
Clock speed = 1500 MHz
...

Using 11.23, you'll get the information you need.

Thanks for the 'machinfo' tip. I had tried that already and it seems to be more of a report about the hardware rather than the current state of the machine. I just wasn't sure if 'top' could be trusted. When I downed the machine and checked the EFI settings, both CPUs were active. And when I booted back up, suddenly 'top' reported two CPUs again. Very odd...

HP-UX B.11.11 U 9000/800 (ta), in my box i cant able to find machinfo.
is it so?.. what should i do to know how many cpu?..

sekar sundaram : machinfo does come with 11.23.

Next comand will2show you how many processor you have, here is 4.

# ioscan -C processor
H/W Path Class Description

0/120 processor Processor
0/121 processor Processor
1/120 processor Processor
1/121 processor Processor

deckard : top should show all cpu :

Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.18 7.5% 0.0% 6.7% 85.8% 0.0% 0.0% 0.0% 0.0%
1 0.17 4.0% 0.0% 4.3% 91.7% 0.0% 0.0% 0.0% 0.0%
2 0.16 5.0% 0.0% 4.6% 90.5% 0.0% 0.0% 0.0% 0.0%
3 0.19 4.7% 0.0% 5.7% 89.5% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.17 5.3% 0.0% 5.3% 89.3% 0.0% 0.0% 0.0% 0.0%

If once in a while you can't see all your processors, then you might have a hardware problem. Consult your system message (dmesg).

Maybe one of your CPUs overheated and was made offline by the system... (Though I am pretty sure that the system would boot if it did that.)