Support Center > Search Results > SecureKnowledge Details
Outputs of "show sysenv all" and "cpstat os -f power_supply" commands show different status for Power Supply units
Symptoms
  • 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.

Cause

The "cpstat" command incorrectly creates the list of hardware sensors in reverse order.


Solution
Note: To view this solution you need to Sign In .