Reports logical partition (LPAR) related information and statistics.
lparstat {-i [ -W ] | -W | -d | -m [ -e [ r | R ]] | [ -H | -h ] | [-X [-o filename ] ] [ -c ] | [-E [w ] ] [ Interval [ Count ] ] }
The lparstat command provides a report of LPAR related information and utilization statistics. This command provides a display of current LPAR related parameters and Hypervisor information, as well as utilization statistics for the LPAR. An interval mechanism retrieves numbers of reports at a certain interval.
The various options of lparstat command are exclusive of each other. The lparstat command with no options will generate a single report containing utilization statistics related to the LPAR since boot time. If the -h option is specified, the report will include summary statistics related to the Hypervisor. If an interval and count are specified, the above report display repeats for every interval seconds and for count iterations. interval and count cannot be used with the -i option. Only root users can run the -h and -H flags.
When the lparstat command is invoked without the -i flag, two rows of statistics are displayed. The first row displays the System Configuration, which is displayed once when the command starts and again whenever there is a change in the system configuration. The second row contains the Utilization Statistics which will be displayed in intervals and again any time the values of these statistics are deltas from the previous interval.
If you specify the -X option, the lparstat command creates an XML file.
Item | Description |
---|---|
Ded | Neither Active Memory Sharing nor Active Memory Expansion is enabled |
Shar | Active Memory Sharing is enabled |
Ded-E | Active Memory Expansion is enabled |
Shar-E | Both Active Memory Sharing and Active Memory Expansion are enabled |
For dedicated partitions, the entitled processing capacity is the number of physical processors.
For uncapped partitions with a current physical processor consumption above their entitled capacity, the percentage becomes relative to the number of physical processor consumed (physc).
For dedicated partitions, the entitled processing capacity is the number of physical processors.
For uncapped partitions with a current physical processor consumption above their entitled capacity, the percentage becomes relative to the number of physical processor consumed (physc).
For dedicated partitions, the entitled processing capacity is the number of physical processors.
For uncapped partitions with a current physical processor consumption above their entitled capacity, the percentage becomes relative to the number of physical processor consumed (physc).
For dedicated partitions, the entitled processing capacity is the number of physical processors.
For uncapped partitions with a current physical processor consumption above their entitled capacity, the percentage becomes relative to the number of physical processor consumed (physc).
Item | Description |
---|---|
-c | Adds the memory compression statistics of the LPAR to the default lparstat output. Note: This
option is available only when Active
Memory Expansion is enabled.
|
-d | Shows the detailed CPU utilization statistics. When the turbo-mode accounting is disabled, the lparstat command shows the breakdown by category of the unaccounted turbo cycles along with the dedicated, donating or shared utilization columns: %user, %sys, %idle, %wait, %entc, %idon, %bdon, %istol and %bstol. |
-e | Displays information about the I/O memory entitlement pools of the LPAR. You can specify the -e flag only with the –m flag. See the metrics that are displayed when you specify the -m flag. |
-E | Reports Scaled Processor Utilization Resource Register (SPURR) based utilization metrics if run on a SPURR-capable processor. |
-h | Adds summary hypervisor statistics to the default lparstat output. |
-H | Provides detailed Hypervisor information. This
option basically displays the statistics for each of the Hypervisor
calls. The various Hypervisor statistics displayed by this option,
for each of the Hypervisor calls, are as below:
|
-i | Lists details on the LPAR configuration. The various
details displayed by the -i option are listed
below:
|
(Details displayed by the -i flag, are
as follows):
|
|
(Details displayed by the -i flag, are
as follows):
|
|
-m | Displays the statistics that are related to the following aspects:
|
-o | Specifies the file name for the XML output. |
-p | Displays the information about the page coalescing statistics of the LPAR. You can specify the -p flag only with the -m flag. When you run the lparstat command with the -w and -p flags, the result displays all the metrics that are displayed by the -e flag in a single line. |
-r | Resets the high water mark of I/O memory entitlement once at the beginning of the command. You can use this flag only with the -m and -e flags. |
-R | Resets the high water mark at the beginning of each monitoring interval. If you specify both the -r and -R flags, the -R flag takes effect. |
-t | Displays the time in the HH:MM:SS format when the command is run with intervals. |
-W | Lists details of the workload partition (WPAR) configuration. If
the command is run from the global environment, the WPAR
Key value is 0. The -W flag displays the following
details:
You can specify the -W flag alone or with -i option. |
-X | Generates the XML output. The default file name is lparstat_DDMMYYHHMM.xml, unless the user specifies a different file name with the –o option. |
lparstat 1 1
lparstat –h 1 1
lparstat -i
lparstat –H 1 1
lparstat –m
lparstat -me
Type - Shared-SMT-4
Type - Dedicated-SMT
lparstat –c 1 1
lparstat –mp
Item | Description |
---|---|
/usr/bin/lparstat | Contains the lparstat command. |