HPE 9000 and HPE e3000 Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

Using Dual processor?

 
SOLVED
Go to solution

Using Dual processor?

I have an rp3440 runing hpux 11.11

how can I find out if my machine is using dual proccessors?
thanks,
8 REPLIES 8
ed k.
Honored Contributor

Re: Using Dual processor?

Hi, try this: /etc/opt/resmon/lbin/monconfig
"If you see a house, you're convinced that there is a builder. If you see a garment, you're convinced that there is a tailor. If you see a universe, you are convinced that Someone created it." (R. Akiva)
Mike Stroyan
Honored Contributor

Re: Using Dual processor?

If you run top you will see one line per CPU at the top of the page.

If you have them installed, the stm tools can tell you lots of things about the hardware you have. http://docs.hp.com/en/diag/stm/sth_summ.htm

You can also find the number of CPUs from a program with the mpctl function as shown below.

#include
#include
#include

int main(int argc, char *argv[])
{
printf ("%d processors\n", mpctl(MPC_GETNUMSPUS, 0, 0));
}

You asked this in a "Workstations > Itanium-based" forum. But a rp3440 is a PA-RISC based server. Other questions about this system are more likely to get good answers in the "Servers > 9000" or "HP-UX > general" forum.
Highlighted

Re: Using Dual processor?

hmm, I try that but it will not tell me if I have dual processors.
Torsten.
Acclaimed Contributor

Re: Using Dual processor?

Hi,

this machine has either a PA-8800 or PA-8900 CPU. Both are dual core. You can install 2 modules in this system, this gives you a total of 4 cores.

Anyway, there is a "single core" option available, that means a single module with a disabled core for a lower price.

Run "ioscan" and count the processor entries.

If you see only one CPU, you have the "low cost" model, in any other case you should see 2 or 4 entries.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   

Re: Using Dual processor?

I see two processor.
ioscan:
:
:


128 processor Processor
129 processor Processor




Do this mean I have 1 physical CPU dual processor capable
or

2 physical CPU's?
Torsten.
Acclaimed Contributor
Solution

Re: Using Dual processor?

The ioscan of a fully loaded machine looks like this:

processor 0 128 processor CLAIMED PROCESSOR Processor
processor 1 129 processor CLAIMED PROCESSOR Processor
processor 2 152 processor CLAIMED PROCESSOR Processor
processor 3 153 processor CLAIMED PROCESSOR Processor


You can also run "stm" on the CPUs and you will see:

...
Path: 128
...
Slot Number: 0
...
Path: 129
...
Slot Number: 0
...

(2 CPUs, same slot - must be a dual core ...)

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

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   

Re: Using Dual processor?

Thanks Torsten,

the command echo
"selclass qualifier cpu;info;wait;il"|cstm

works for me, I shows me 128 and 129 on the same slot.


Re: Using Dual processor?

Thanks,

the command echo
echo "selclass qualifier cpu;info;wait;il"|cstm


gives me the information to determine if I am using dual processor on my system.