
Chapter 4. System planning and configuration using VIOS with IVM 171
The lsrefcode command can be used to monitor the status codes as the LPR
becomes active. Example 4-25 shows the lsrefcode being used with both LPAR
number and name for LPAR 4.
Example 4-25 Using the CLI to monitor partition activation status codes
$ lsrefcode -r lpar --filter lpar_names=JS23DMlpar4 -F refcode
00000000
$ lsrefcode -r lpar --filter lpar_names=JS23DMlpar4 -F refcode
CA00E1F1
$ lsrefcode -r lpar --filter lpar_names=JS23DMlpar4 -F refcode
AA00E158
or
$ lsrefcode -r lpar --filter lpar_ids=4 -F refcode
00000000
$ lsrefcode -r lpar --filter lpar_ids=4 -F refcode
CA00E1F1
$ lsrefcode -r lpar --filter lpar_ids=4 -F refcode
AA00E158
The lssyscfg command can be used to display the state of the LPARS by name
or the ID number of the LPAR, as shown in Example 4-26.
Example 4-26 The lssyscfg command used to display the LPAR state
$ lssyscfg -r lpar -F name,state
js23-vios,Running
IBMI 2,Running
JS23AMSlpar3,Not Activated
JS23DMlpar4,Running
JS23DPlpar5,Not Activated
or
$ lssyscfg -r lpar -F lpar_id,state
1,Running
2,Running
3,Not Activated
4,Running
5,Not Activated
Commentaires sur ces manuels