LPARSTAT(8)
π LPARSTAT(8) β Linux on Power Service Tools
okay so bestie, welcome to lparstat, a.k.a. the Linux on Power Service Tools era of your life π«Ά this is the part where we look at your logical partition and go "hmm, what's the vibe" β and honestly? it ate.
β¨ NAME β¨
lparstat β reports logical partition (LPAR) related information and statistics. π
πΈ SYNOPSIS πΈ
/usr/sbin/lparstat [ options ]
/usr/sbin/lparstat <interval> [ count ]
π¦ DESCRIPTION π¦
k so the lparstat command is literally your little report bestie β it gives you LPAR related info + utilization statistics. it shows current LPAR related parameters and Hypervisor information, plus the utilization statistics for the LPAR. iconic behavior, no notes. β¨
run lparstat with no options and it drops a single report with utilization statistics related to the LPAR since boot time. that's it. that's the whole vibe. π
lowkey important: the following info shows up in the system configuration row π
typeβ Partition Type. can be eitherdedicatedorshared.modeβ tells you whether the partition processor capacity iscappedoruncapped, i.e. whether it's allowed to consume idle cycles from the shared pool. a dedicated LPAR iscappedordonating.smtβ says whether simultaneous multi-threading isenabledordisabledin the partition. if SMT is enabled, the number of SMT threads gets displayed too. slay. π§΅lcpuβ number of online logical SMT threads. this one is reported when you're using the--legacyflag.vcpuβ number of online virtual processor cores.memβ online Memory Capacity.cpusβ number of online physical processor cores in the pool. this attribute is referred to aspsizein legacy mode and is only available in a shared LPAR environment. iykyk πentβ entitled processing capacity in processor units. this info is displayed only if the partition type isshared.
π the utilization row π
now for the main character energy β the utilization row:
%userβ shows the percentage of the entitled processing capacity used while executing at the user level (application). 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). π okay that sentence is a lot but you got it.%sysβ shows the percentage of the entitled processing capacity used while executing at the system level (kernel). 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).%waitβ shows the percentage of the entitled processing capacity unused while the partition was idle and had outstanding disk I/O requests. 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).%idleβ shows the percentage of the entitled processing capacity unused while the partition was idle and did not have any outstanding disk I/O request. 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).
π shared or dedicated-donating stats π
these next ones show up when the partition type is shared or dedicated-donating:
physcβ shows the number of physical processors consumed. π₯vcswβ shows the number of virtual context switches that are virtual processor hardware preemptions.
β shared-only stats β
and these babies are displayed only when the partition type is shared:
%entcβ shows the percentage of the entitled capacity consumed. heads up bestie: because the time base over which this data is computed can vary, the entitled capacity percentage can sometimes exceed100%. π this excess is noticeable only with small sampling intervals.lbusyβ shows the percentage of logical processor(s) utilization that occurred while executing at the user and system level.appβ shows the available physical processors in the shared pool.phintβ shows the number of phantom interruptions received (phantom = targeted to another shared partition in this pool). π ghosted, but make it hardware.
β¨ OPTIONS β¨
The option menu is giving full detail, no cap. Every flag, every field, every little default-ish fact β all here. π
-iβ Lists details on the LPAR configuration. The various details displayed by the-ioption are listed below (the field list is headedNode Name/Description):Partition Nameβ Logical partition name as assigned at the HMC.Partition Numberβ Number of this Logical Partition.Typeβ Indicates whether the LPAR is using dedicated or shared CPU resource and if the SMT is turned ON. The Type is displayed in the format[Shared | Dedicated] [ -SMT ] [ -# ]. The following list explains the different Type formats:Sharedβ Indicates that the LPAR is running in the Shared processor mode.Dedicatedβ Indicates that the LPAR is running in the dedicated processor mode.SMT[-#]β Indicates that the LPAR has SMT mode turned ON and the number of SMT threads is 2. If the number of threads is greater than 2, then the number of threads is also displayed.
Modeβ Indicates whether the LPAR processor capacity is capped, or if it is uncapped and allowed to consume idle cycles from the shared pool. Dedicated LPAR is capped or donating.Entitled Capacityβ The number of processing units this LPAR is entitled to receive.Partition Group-IDβ LPAR group that this LPAR is a member of.Shared Pool IDβ Identifier of Shared Pool of Physical processors that this LPAR is a member.Online Virtual CPUsβ Number of CPUs (virtual engines) currently online.Maximum Virtual CPUsβ Maximum possible number of CPUs (virtual engines).Minimum Virtual CPUsβ Minimum number of virtual CPUs this LPAR was defined to ever have.Online Memoryβ Amount of memory currently online.Minimum Memoryβ Minimum memory this LPAR was defined to ever have.Desired Memoryβ Indicates the desired amount of memory.Maximum Memoryβ Maximum possible amount of memory.Variable Capacity Weightβ The priority weight assigned to this LPAR which controls how extra (idle) capacity is allocated to it. A weight of-1indicates a soft cap is in place.Minimum Capacityβ The minimum number of processing units this LPAR was defined to ever have. Entitled capacity can be reduced down to this value.Maximum Capacityβ The maximum number of processing units this LPAR was defined to ever have. Entitled capacity can be increased up to this value.Capacity Incrementβ The granule at which changes to Entitled Capacity can be made. A value in whole multiples indicates a Dedicated LPAR.Active Physical CPUs in Systemβ The current number of active physical CPUs in the system containing this LPAR.Active CPUs in Poolβ The maximum number of CPUs available to this LPAR's shared processor pool.Maximum Capacity of Poolβ The maximum number of processing units available to this LPAR's shared processor pool.Entitled Capacity of Poolβ The number of processing units that this LPAR's shared processor pool is entitled to receive.Unallocated Capacityβ The sum of the number of processor units unallocated from shared LPARs in an LPAR group. This sum does not include the processor units unallocated from a dedicated LPAR, which can also belong to the group. The unallocated processor units can be allocated to any dedicated LPAR (if it is greater than or equal to1.0) or shared LPAR of the group.Physical CPU Percentageβ Fractional representation relative to whole physical CPUs that these LPARs virtual CPUs equate to. This is a function ofEntitled Capacity / Online CPUs. Dedicated LPARs would have100%Physical CPU Percentage. A4-wayvirtual with Entitled Capacity of2processor units would have a50%physical CPU Percentage.Unallocated Weightβ Number of variable processor capacity weight units currently unallocated within the LPAR group.Memory Modeβ Indicates whether the memory mode is shared or dedicated. If Active Memory Expansion is enabled, the memory mode also includes a new mode called Expanded.Total I/O Memory Entitlementβ The I/O memory entitlement of the LPAR.Variable Memory Capacity Weightβ This one is listed with no description in this manpage. It is literally just the field name sitting there, iconic and mysterious. π«Memory Pool IDβ The memory pool ID of the pool that the LPAR belongs to.Physical Memory in the Poolβ The physical memory present in the pool that the LPAR belongs to.Unallocated Variable Memory Capacity Weightβ The unallocated variable memory-capacity weight of the LPAR.Unallocated I/O Memory Entitlementβ The unallocated I/O memory entitlement of the LPAR.Memory Group ID of LPARβ The memory group ID of the Workload Manager group that the LPAR belongs to.Desired Variable Capacity Weightβ The variable memory capacity weight of the LPAR.Resource Group Numberβ Identifier of Resource Group of Physical processors that this LPAR is a member of.Active Processors in Resource Groupβ Current number of active physical Processors in resource Group containing this LPAR.
-xβ Display the LPAR security flavor mode:0β Speculative execution fully enabled1β Speculative execution controls to mitigate user-to-kernel side-channel attacks2β Speculative execution controls to mitigate user-to-kernel and user-to-user side-channel attacks
-Eβ Display Scaled Processor Utilization Resource Register(SPURR) based CPU utilization.- Actual CPU utilization is based on Processor Utilization Resource Register(PURR).
- Normalized CPU utilization is based on Scaled Processor Utilization Resource Register(SPURR).
-l,--legacyβ Display the report in legacy format.- Memory attribute in MB instead of KB.
cpusattribute is referred aspsizeand only available for shared LPAR.lcpuattribute calculation:lcpu = smt * number of online processors.
-h,--helpβ Display the usage oflparstat.-V,--versionβ Display thelparstatversion information.intervalβ The interval parameter specifies the amount of time between each report.countβ The count parameter specifies how many reports will be displayed.
That's the whole thing, bestie β source/version Linux, dated 2011-05-01, and this page is LPARSTAT(8). Go off, queen. πβ¨π
π¦ where this page comes from
- opensuse-leap 16.0: powerpc-utils 1.3.14-160000.2.1 Β· GPL-2.0-or-later
- Copyright (C) 2011 International Business Machines
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms