Using poolstat to Monitor the Pools Facility and Resource Utilization
The poolstat utility is used to monitor resource utilization when pools are enabled
on your system. This utility iteratively examines all of the active pools on
a system and reports statistics based on the selected output mode. The poolstat
statistics enable you to determine which resource partitions are heavily utilized. You can analyze
these statistics to make decisions about resource reallocation when the system is under
pressure for resources.
The poolstat utility includes options that can be used to examine specific pools
and report resource set-specific statistics.
If zones are implemented on your system and you use poolstat in a
non-global zone, information about the resources associated with the zone's pool is displayed.
For more information about the poolstat utility, see the poolstat(1M) man page. For poolstat
task and usage information, see Using poolstat to Report Statistics for Pool-Related Resources.
poolstat Output
In default output format, poolstat outputs a heading line and then displays a
line for each pool. A pool line begins with the pool ID and
the name of the pool, followed by a column of statistical data for
the processor set attached to the pool. Resource sets attached to more than
one pool are listed multiple times, once for each pool.
The column headings are as follows:
- id
Pool ID.
- pool
Pool name.
- rid
Resource set ID.
- rset
Resource set name.
- type
Resource set type.
- min
Minimum resource set size.
- max
Maximum resource set size.
- size
Current resource set size.
- used
Measure of how much of the resource set is currently used.
This usage is calculated as the percentage of utilization of the resource set multiplied by the size of the resource set. If a resource set has been reconfigured during the last sampling interval, this value might be not reported. An unreported value appears as a hyphen (-).
- load
Absolute representation of the load that is put on the resource set.
For more information about this property, see the libpool(3LIB) man page.
You can specify the following in poolstat output:
The order of the columns
The headings that appear
Tuning poolstat Operation Intervals
You can customize the operations performed by poolstat. You can set the sampling
interval for the report and specify the number of times that statistics are
repeated:
- interval
Tune the intervals for the periodic operations performed by poolstat. All intervals are specified in seconds.
- count
Specify the number of times that the statistics are repeated. By default, poolstat reports statistics only once.
If interval and count are not specified, statistics are reported once. If interval
is specified and count is not specified, then statistics are reported indefinitely.