lsnodepsu

Use the lsnodepsu command to display the power supply unit information of nodes in a system.

Syntax

Read syntax diagramSkip visual syntax diagram lsnodepsu -filtervalueattribute=value -nohdr -delimdelimiter -filtervalue? -psuPSU_idnode_id_or_name

Parameters

-filtervalue attribute=value
(Optional) Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are returned. If a capacity is specified, the units must also be included.
Note: Some filters allow the use of a wildcard when you enter the command. The following rules apply to the use of wildcards with the Command-Line Interface (CLI):
  • The wildcard character is an asterisk (*).
  • The command can contain a maximum of one wildcard.
  • When you use a wildcard, you must enclose the filter entry within double quotation marks (""):
    lsnode -filtervalue "name=md*"
-filtervalue?
Displays a list of valid filter attributes for the -filtervalueattribute=value parameter. The valid filters for the lsnodepsu command are:
  • PSU_id
  • node_id
  • node_name
  • status
-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.
-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) Specifies the ID of the PSU. You must specify a node_id or node_name if you use the -psu parameter.
node_id | node_name
(Optional) Specifies the node ID or node name (as listed in the lsnode command).

Description

This table provides the possible values that are applicable to the attributes that are displayed as data in the output views.
Table 1. Attribute values for lsnodepsu
Attribute Value
node_id Indicates the ID, as shown in lsnode, of the node in which the PSU is located.
node_name Indicates the name, as shown in lsnode, of the node in which the PSU is located.
PSU_id Indicates the ID of the PSU.
status Indicates the overall status of the PSU. The possible values are:
  • offline
  • online
  • degraded
  • unknown
input_failed Indicates the state of the input failed LED on the PSU. The value is either on or off.
output_failed Indicates the state of the output failed LED on the PSU. The value is either on or off.
fan_failed Indicates the state of the fan failed LED on the PSU. The value is either on or off.
swapped Indicates whether the PSU has been swapped since power-on or the last clear swap. The value is either yes or no.
redundant Indicates whether the PSU is redundant. The value is either yes or no.
FRU_part_number Indicates FRU part number of the PSU. The value is an ASCII string up to 22 characters.
FRU_identity Indicates FRU identity of the PSU. The value is an ASCII string up to 22 characters.
firmware_level_1 Indicates the firmware level of the PSU. The value is an ASCII string up to 22 characters.

An invocation example

lsnodepsu

The resulting output:

node_id node_name PSU_id status 
 3       tetra3    1      online 
 3       tetra3    2      online 
 2       tetra2    1      online 
 2       tetra2    2      online

An invocation example

lsnodepsu -gui

The resulting output:

node_id node_name PSU_id status input_failed output_failed fan_failed swapped redundant FRU_part_number FRU_identity    firmware_level_1 
3       tetra3    1      online off          off           off        no      yes       01YM310         2021217J14T0489 1.0              
3       tetra3    2      online off          off           off        no      yes       01YM310         2021217J14T0818 1.0              
2       tetra2    1      online off          off           off        no      yes       01YM310         2021217J14T0763 1.0              
2       tetra2    2      online off          off           off        no      yes       01YM310         2021217J14T0879 1.0 

An invocation example

lsnodepsu -gui -psu 1 2

The resulting output:

node_id tetra2
 PSU_id 1
 status online
 input_failed off
 output_failed off
 fan_failed off
 swapped no
 redundant yes
 FRU_part_number 01YM310
 FRU_identity 2021217J14T0763
 firmware_level_1 1.0

An invocation example

lsnodepsu -gui -psu 2 tetra3

The resulting output:

node_id tetra3
 PSU_id 2
 status online
 input_failed off
 output_failed off
 fan_failed off
 swapped no
 redundant yes
 FRU_part_number 01YM310
 FRU_identity 2021217J14T0818
 firmware_level_1 1.0