Information Technology Reference
In-Depth Information
The former provides on-demand information about processor set populations,
whereas the latter provides synchronous notices about population changes.
The
poolstat
program lists the resource pools, their associated processor sets,
and the population of each pool/processor set combination.
GZ#
poolstat -r pset
id pool type rid rset min max size used load
1 SUNWtmp_zone1 pset 1 SUNWtmp_zone1 4 6 4 0.35 0.45
0 pool_default pset -1 pset_default 1 66K 1 0.14 0.01
3 SUNWtmp_zone2 pset 3 SUNWtmp_zone2 2 2 2 0.00 0.25
2 SUNWtmp_zone3 pset 2 SUNWtmp_zone3 6 8 8 0.21 0.40
In the preceding example, three Containers are using the
dedicated-cpu
fea-
ture of
zonecfg
. The output from
poolstat
provides the mapping between the
pool name, processor set, and processor set identification number. For example,
the Container
zone1
has been assigned to pool
SUNWtmp_zone1
, which uses the
processor set
apppset
(identified by the number 1). Its number can be used to
cross-reference the data provided by
poolstat
with data provided to other com-
mands, such as
mpstat
.
The
mpstat
command does not have options specific to Containers, but it does
report information specific to processors, processor sets, and changes in their
state and processor set membership. You can watch the output from
mpstat
for
changes in processor set population as they occur.
GZ#
mpstat -ap 5
SET minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl sze
0 6 0 355 291 190 22 0 0 0 0 43 0 2 0 43 1
1 24 17 534 207 200 70 1 0 2 0 600 4 1 0 84 2
2 19 7 353 325 318 44 0 0 5 0 345 1 1 0 94 3
3 36 2 149 237 236 14 0 0 4 0 97 0 0 0 98 2
…
<<processor 3 moved from pset: -1 to: 1>>
<<pset destroyed: 1>>
<<pset created: 1>>
<<processors added: 1, 3>>
<<processors removed: 1, 3>>
SET minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl sze
0 1 0 720 405 304 55 0 0 18 0 12 0 15 0 81 1
1 0 69 1955 230 200 313 33 4 41 9 7086 34 10 0 19 2
2 0 46 685 314 300 203 11 0 54 1 5287 36 6 0 28 3
3 0 0 14 386 384 0 0 0 0 0 0 0 0 0 100 2
The messages in angle brackets indicate that the configuration of one or more
processor sets changed between reporting samples.
Search WWH ::
Custom Search