File: lparstat.8

package info (click to toggle)
powerpc-utils 1.3.13-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,044 kB
  • sloc: ansic: 18,549; sh: 4,697; perl: 980; makefile: 239
file content (265 lines) | stat: -rw-r--r-- 10,151 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
.\" Copyright (C) 2011 International Business Machines.
.\"
.\" Author(s)
.\"	Santiago Leon <santil@santil@linux.vnet.ibm.com>
.\"	Text extracted from AIX 6.1 Information Document.
.\"	Copyright International Business Machines Corporation 1997, 2010.
.\"
.TH LPARSTAT 8 2011-05-01 Linux "Linux on Power Service Tools"
.SH NAME
lparstat \- Reports logical partition ( LPAR ) related information and statistics.
.SH SYNOPSIS
.B /usr/sbin/lparstat [ options ]
.HP
.B /usr/sbin/lparstat <interval> [ count ]
.SH DESCRIPTION
The \fIlparstat\fR 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.

The \fIlparstat\fR command with no options will generate a single report containing utilization statistics related to the LPAR since boot time.

The following information is displayed in the system configuration row:
.TP
type
Partition Type. Can be either dedicated or shared.
.TP
mode
Indicates whether the partition processor capacity is capped or uncapped allowing it to consume idle cycles from the shared pool. Dedicated LPAR is capped or donating.
.TP
smt
Indicates whether simultaneous multi-threading is enabled or disabled in the partition. If SMT is enabled, the number of SMT threads is displayed.
.TP
lcpu
Number of online logical processors.
.TP
mem
Online Memory Capacity.
.TP
cpus
Number of online physical processors in the pool.
.RS
This attribute is referred as
.B psize
in legacy mode and only available in shared LPAR environment.
.RE
.TP
ent
Entitled processing capacity in processor units. This information is displayed only if the partition type is shared.
.P
The following information is displayed in the utilization row:
.TP
%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).
.TP
%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).
.TP
%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).
.TP
%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).
.P
The following statistics are displayed when the partition type is shared or dedicated-donating:
.TP
physc
Shows the number of physical processors consumed.
.TP
vcsw
Shows the number of virtual context switches that are virtual processor hardware preemptions.
.P
The following statistics are displayed only when the partition type is shared:
.TP
%entc
Shows the percentage of the entitled capacity consumed. Because the time base over which this data is computed can vary, the entitled capacity percentage can sometimes exceed 100%. This excess is noticeable only with small sampling intervals.
.TP
lbusy
Shows the percentage of logical processor(s) utilization that occurred while executing at the user and system level.
.TP
app
Shows the available physical processors in the shared pool.
.TP
phint
Shows the number of phantom (targeted to another shared partition in this pool) interruptions received.
.SH OPTIONS
.TP
\fB\-i\fR
Lists details on the LPAR configuration. The various details displayed by the -i option are listed below:
.RS
.TP
Node Name
Description
.TP
Partition Name
Logical partition name as assigned at the HMC.
.TP
Partition Number
Number of this Logical Partition.
.TP
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:
.RS
.TP
Shared - Indicates that the LPAR is running in the Shared processor mode.
.TP
Dedicated - Indicates that the LPAR is running in the dedicated processor mode.
.TP
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.
.RE
.TP
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.
.TP
Entitled Capacity
    The number of processing units this LPAR is entitled to receive.
.TP
Partition Group-ID
    LPAR group that this LPAR is a member of.
.TP
Shared Pool ID
    Identifier of Shared Pool of Physical processors that this LPAR is a member.
.TP
Online Virtual CPUs
Number of CPUs (virtual engines) currently online.
.TP
Maximum Virtual CPUs
Maximum possible number of CPUs (virtual engines).
.TP
Minimum Virtual CPUs
    Minimum number of virtual CPUs this LPAR was defined to ever have.
.TP
Online Memory
Amount of memory currently online.
.TP
Minimum Memory
    Minimum memory this LPAR was defined to ever have.
.TP
Desired Memory
    Indicates the desired amount of memory.
.TP
Maximum Memory
    Maximum possible amount of memory.
.TP
Variable Capacity Weight
    The priority weight assigned to this LPAR which controls how extra (idle) capacity is allocated to it. A weight of -1 indicates a soft cap is in place.
.TP
Minimum Capacity
    The minimum number of processing units this LPAR was defined to ever have. Entitled capacity can be reduced down to this value.
.TP
Maximum Capacity
    The maximum number of processing units this LPAR was defined to ever have. Entitled capacity can be increased up to this value.
.TP
Capacity Increment
    The granule at which changes to Entitled Capacity can be made. A value in whole multiples indicates a Dedicated LPAR.
.TP
Active Physical CPUs in System
    The current number of active physical CPUs in the system containing this LPAR.
.TP
Active CPUs in Pool
    The maximum number of CPUs available to this LPAR's shared processor pool.
.TP
Maximum Capacity of Pool
    The maximum number of processing units available to this LPAR's shared processor pool.
.TP
Entitled Capacity of Pool
    The number of processing units that this LPAR's shared processor pool is entitled to receive.
.TP
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 to 1.0 ) or shared LPAR of the group.
.TP
Physical CPU Percentage
    Fractional representation relative to whole physical CPUs that these LPARs virtual CPUs equate to. This is a function of Entitled Capacity / Online CPUs. Dedicated LPARs would have 100% Physical CPU Percentage. A 4-way virtual with Entitled Capacity of 2 processor units would have a 50% physical CPU Percentage.
.TP
Unallocated Weight
    Number of variable processor capacity weight units currently unallocated within the LPAR group.
.TP
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.
.TP
Total I/O Memory Entitlement
The I/O memory entitlement of the LPAR.
.TP
Variable Memory Capacity Weight
.TP
Memory Pool ID
The memory pool ID of the pool that the LPAR belongs to.
.TP
Physical Memory in the Pool
The physical memory present in the pool that the LPAR belongs to.
.TP
Unallocated Variable Memory Capacity Weight
he unallocated variable memory-capacity weight of the LPAR.
.TP
Unallocated I/O Memory Entitlement
The unallocated I/O memory entitlement of the LPAR.
.TP
Memory Group ID of LPAR
The memory group ID of the Workload Manager group that the LPAR belongs to.
.TP
Desired Variable Capacity Weight
The variable memory capacity weight of the LPAR.
.RE
.TP
\fB\-x\fR
Display the LPAR security flavor mode
.RS
.TP
.B 0
Speculative execution fully enabled
.TP
.B 1
Speculative execution controls to mitigate user-to-kernel side-channel attacks
.TP
.B 2
Speculative execution controls to mitigate user-to-kernel and user-to-user side-channel attacks
.RE
.TP
\fB\-E\fR
Display Scaled Processor Utilization Resource Register(SPURR) based CPU utilization.
.RS
.RS
Actual CPU utilization is based on Processor Utilization Resource Register(PURR).
.br
Normalized CPU utilization is based on Scaled Processor Utilization Resource Register(SPURR).
.RE
.RE
.TP
\fB\-l, --legacy\fR
Display the report in legacy format.
.RS
.RS
Memory attribute in MB instead of KB.
.br
.B cpus
attribute is referred as
.B psize
and only available for shared LPAR.
.br
.B lcpu
attribute calculation: lcpu = smt * number of online processors.
.RE
.RE
.TP
\fB\-h, --help\fR
Display the usage of lparstat.
.TP
\fB\-V, --version\fR
Display the lparstat version information.
.TP
interval
The
.B interval
parameter specifies the amount of time between each report.
.TP
count
The
.B count
parameter specifies how many reports will be displayed.