Outputs of Clish command "show sysenv all" and Expert mode command "cpstat os -f power_supply" show different status for Power Supply units.
Example:
HostName> show sysenv all ... ... ... Power Supply #1 Down Power Supply #2 Up
[Expert@HostName]# cpstat os -f power_supply Power Supply -------------- |Index|Status| -------------- | 1 | Up | | 2 | Down | --------------
Issue started after turning off Power Supply unit #1.
The "cpstat" command incorrectly creates the list of hardware sensors in reverse order.