zhmcGetLpars function
zhmcGetLpars
zhmcGetLpars (hmcname, cpc)
Obtains an array of LPAR objects for the CPC. Each element of the array contains the properties as summarized in the following table:
name | The LPAR name. |
description | The LPAR description. |
status | The current status. |
acceptable_status | An array of strings with the acceptable status values. |
Parameters:
hmcname | The HMC session name. |
cpc | The CPC where the LPARS reside. |
Returns:
An array of LPAR objects or false if the operation fails.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*