List LPARs
To list all LPARs that are controlled by an HMC or SE, snipl requires specifications for the HMC or SE and the corresponding access data.
Use the -x option to list all LPARs of a mainframe.
LPAR mode: list
Where:
- <image_name>
- specifies an LPAR to identify a section in the snipl configuration file. Omit this parameter if an HMC or SE is specified with the -L option (see Overview for LPAR mode).
- |lpar-access-data|
- see Specifying access data for LPAR mode.
- -x or --listimages
- retrieves a list of all LPARs from the specified HMC or SE. If an HMC is specified, all LPARs for all managed mainframe systems are listed.
Example: The following command lists the LPARs for an SE with IP
address
192.0.2.4
:
# snipl -L 192.0.2.4 -e -P -x
Enter password:
Warning : No default configuration file could be found/opened.
available images for server 192.0.2.4 :
SZ01LP00 SZ01LP01 SZ01LP02 SZ01LP03