lsenclosurepsu

Use the lsenclosurepsu command to view information about each power-supply unit (PSU) in the enclosure.

Syntax

 lsenclosurepsu    [  -nohdr  ]   [  -filtervalue   attribute_value  ]   [  -filtervalue?  ]   [  -delim  delimiter  ]   [ {   | |  -psu  psu_id  }  enclosure_id  ]

Parameters

-nohdr
(Optional) By default, headings are displayed for each column of data in a concise style view, and for each item of data in a detailed style view. The -nohdr parameter suppresses the display of these headings.
Note: If there is no data to be displayed, headings are not displayed.
-filtervalueattribute=value
(Optional) Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are displayed.
Note: Some filters allow the use of a wildcard when you enter the command. The following rules apply to the use of wildcards:
  • The wildcard character is the asterisk (*).
  • The command can contain a maximum of one wildcard.
  • When you use a wildcard, enclose the filter entry within double quotation marks (""):
    lsenclosurepsu -filtervalue "psu_id=1"
-filtervalue?
(Optional) Displays the valid filter attributes for the -filtervalue parameter:
  • enclosure_id
  • psu_id
  • status
-delim delimiter
(Optional) By default in a concise view, all columns of data are space-separated. The width of each column is set to the maximum width of each item of data. In a detailed view, each item of data has its own row, and if the headers are displayed, the data is separated from the header by a space. The -delim parameter overrides this behavior. Valid input for the -delim parameter is a 1-byte character. If you enter -delim : on the command line, the colon character (:) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter.
-psu psu_id
(Optional) Valid only when the enclosure_id is specified. Provides a detailed view of the PSU for the specified enclosure.
enclosure_id
(Optional) Lists the PSUs for the specified enclosure.

Description

This command displays information about each power-supply unit (PSU) in the enclosure. lsenclosurepsu output shows the possible outputs:
Table 1. lsenclosurepsu output
Attribute Description
enclosure_id Indicates the ID of the enclosure that contains the PSU.
psu_id Indicates the ID of the PSU in the enclosure.
status Indicates the status of the power and cooling unit in the enclosure:
  • online indicates that a PSU is present and working normally.
  • offline indicates that a PSU cannot be detected.
  • degraded indicates that a PSU is present but not working normally.
input_failed
  • on indicates that no usable input power is detected from the power distribution unit.
  • off indicates that the input power is OK.
output_failed
  • on indicates that no usable output power is detected from the distribution unit.
  • off indicates that the output power is OK.
input_power
  • ac indicates that the power supply requires AC power input.
  • unknown indicates that the power supply is not known or cannot be determined.
fan_failed
  • on indicates that if the AC and fan LEDs are all on, there is a PSU fault. If only the fan LED is on, then there is a fan failure.
  • off indicates that the fans in this PSU are OK.
redundant Indicates (yes or no) whether you can remove the power supply:
  • If the PSU is on an expansion enclosure, the other PSU must be online.
  • If the PSU is on a control enclosure, the other PSU must be online and the battery on that PSU must contain enough charge to allow the canisters to dump state and cache data before you shut down.
error_sequence_number Indicates the error log (or event log) number of the highest priority error for this object. This value is typically blank. However, if there is a problem (for example, the status is degraded), then it contains the sequence number of that error event.
FRU_part_number Indicates the FRU part number of the PSU.
FRU_identity Indicates the 11S number, combining the manufacturing part number and the serial number.
firmware_level_1 Indicates the version of the microcode image (power supply firmware version) installed on the power supply.
firmware_level_2 Indicates the version of the power supply metadata (power supply vital product data, or VPD, version) installed on the power supply.
Note: This field might not be applicable for some systems and is blank for all PSU types.
firmware_level_3 Indicates the version of the secondary microcode image that is installed on the enclosure's High Efficiency (HE) power supply unit (PSU).
Note: This field might not be applicable for some systems and is blank for all PSU types.

An invocation example

lsenclosurepsu -delim :

The resulting output:

enclosure_id:PSU_id:status:input_power
1:1:online:ac
1:2:online:ac

A detailed invocation example

lsenclosurepsu -psu 1 1 

The detailed resulting output:

enclosure_id 1
PSU_id 1
status online
input_failed off
output_failed on
fan_failed off
redundant yes
error_sequence_number 
FRU_part_number 85Y5847
FRU_identity 11S85Y5847YG50CG07W0LJ
firmware_level_1 0314firmware_level_2 AF9293E5firmware_level_3
input_power ac