Thursday, August 23, 2007

HP-UX: Processors

[ROOT abc24]usr/sam # /usr/sbin/diag/contrib/pdcinfo -no_banner | grep "CPU("
CPU(0)  PA8700 3.1
CPU(1)  PA8700 3.1
CPU(2)  PA8700 3.1
CPU(3)  PA8700 3.1
CPU(0)  PA8700 3.1
CPU(1)  PA8700 3.1
CPU(2)  PA8700 3.1
CPU(3)  PA8700 3.1
[ROOT abc24]/tmp # echo "selclass qualifier cpu;info;wait;infolog" | cstm > /tmp/cpuinfo

[ROOT abc24]/tmp # more cpuinfo | grep "CPU Slot Number"
CPU Number:                0            CPU Slot Number:          0
CPU Number:                1            CPU Slot Number:          1
CPU Number:                2            CPU Slot Number:          2
CPU Number:                3            CPU Slot Number:          3
CPU Number:                8            CPU Slot Number:          0
CPU Number:                9            CPU Slot Number:          1
CPU Number:                11           CPU Slot Number:          3
[ROOT abc24]var/sam # icod_stat -p

Version:                   4.0
Contract type:             iCOD-purchase
License applied:           yes

Hostname:                  abc24
DNS domain name:           abc24.def.hij.com
IP address:                12.34.56.78
NIS domain name:           .
System model:              9000/800/SD64000
Serial number:             XX123456XX
Software ID:               deadbeef

Contact name:              UNIX Support
Contact e-mail:            ux@gggi.com
Contact phone:             (12)3456-6777

Total processors:                              8
Active processors:                             7
Inactive processors that can be activated:     1
Inactive processors that cannot be activated:  0
Deconfigured processors:                       0
Requested active processors:                   7

Requested active processors specified for all partitions:

Requested
Active      Total
Processors  Processors  Partition
==========  ==========  =========
0           4           ux123 (par0)
7           8           Database abc24 (par1) (local)
4           4           App6 abc26 (par2)
2           4           QA App abc21 (par4)
n/a         0           Unassigned cells
---------------------------------------------------------
13 total requested active processors specified for complex
[ROOT abc24]var/sam #

PS: PA-8700 - single core CPU

No comments: