Use this task to query the presence and position of either of the switch's two PSs.
-> show -d properties /SYS/PSslot/PRSNT
where slot is either 0 or 1 that corresponds to the PS for which you want to display information.
For example, to determine the presence of PS 0, type:
-> show -d properties /SYS/PS0/PRSNT /SYS/PS0/PRSNT Properties: type = Entity Presence ipmi_name = PS0/PRSNT class = Discrete Sensor value = Present alarm_status = cleared ->
-> show -d properties /SYS/PS0/ /SYS/PSO Properties: type = Power Supply ipmi_name = PS0 fru_manufacturer = Delta Electronics fru_part_number = 7065505-01 fault_state = OK clear_fault_action = (none) ->
where slot is the slot of the power supply (0 or 1).
-> show -d properties /System/Power/Power_Supplies/Power_Supply_slot
For example, type:
-> show -d properties /System/Power/Power_Supplies/Power_Supply_0 /System/Power/Power_Supplies/Power_Supply_0 Properties: health = OK health_details = - part_number = 7065505-01 serial_number = C94928 manufacturer = Delta Electronics location = PS0 (Power Supply 0) input_power = Present output_power = 93 watts ->