List power supply units
Description
This command lists the power supply units (PSUs) accessible from the specified enclosure.
Command syntax
shmcli (list power supplies | listpowersupplies | lps) (-a=<(SAS WWID | AdapterIndex)> -enc=<(WWN | EnclIndex)> [-outputformat=<SupportedOutputFormats>] | -enc=<WWN> [-outputformat=<SupportedOutputFormats>] | [-h])
Parameters
Table 1. List power supply unit devicesThis table shows the parameters used to list the power supply unit devices.
Parameter
|
Description
|
-a
|
Specifies the adapter used for the command. This can be either SAS WWID or AdapterIndex.
|
-enc
|
Specifies the enclosure used for the command. This is either WWN or EnclIndex.
|
-h
|
Provides more information about the command, description, and usage.
|
-outputformat
|
You can specify the following output formats: XML or JSON.
|
-
list power supplies -a=1 -enc=500a123456789012
-
list power supplies -a=1 -enc=0
-
list power supplies -enc=500a123456789012 -outputformat=xml