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

How are sar-CPU# are bound to running CPUs

 
Jdamian
Respected Contributor

How are sar-CPU# are bound to running CPUs

Hi

In a non-virtual partition 'mpsched -s' (and sar -uM) and 'ioscan -kfC processor' looks to be equal.

but in virtual partition CPU numbers don't match the instance numbers reported by ioscan:


# ioscan -kfC processor
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
processor 0 6/11 processor CLAIMED PROCESSOR Processor
processor 1 6/12 processor CLAIMED PROCESSOR Processor
processor 2 6/13 processor CLAIMED PROCESSOR Processor
processor 3 6/14 processor CLAIMED PROCESSOR Processor

# mpsched -s
System Configuration
=====================

Locality Domain Count: 1
Processor Count : 4

Domain Processors
------ ----------
0 0 2 3 4
># sar -uM 1 1

HP-UX xxxxxxxx B.11.23 U 9000/800 12/05/08

13:25:00 cpu %usr %sys %wio %idle
13:25:01 0 1 2 0 96
2 1 2 0 97
3 0 2 0 98
4 0 3 0 97
system 1 2 0 97


Both commands show there are 4 CPUs but...

How can I identify a sar-CPU# and its hardware path?

Thanx in advance