Is there a command-line way to check if a system has two power
supplies and, if so, their current state?

Background: a client has several systems at a hosting provider.  We
would like to believe that the systems have dual power supplies, but
would like a way of verifying.  Here's the output from a dmidecode:

# dmidecode --type 39
# dmidecode 2.11
SMBIOS 2.7 present.

Handle 0x0095, DMI type 39, 22 bytes
System Power Supply
    Power Unit Group: 1
    Location: To Be Filled By O.E.M.
    Name: To Be Filled By O.E.M.
    Manufacturer: To Be Filled By O.E.M.
    Serial Number: To Be Filled By O.E.M.
    Asset Tag: To Be Filled By O.E.M.
    Model Part Number: To Be Filled By O.E.M.
    Revision: To Be Filled By O.E.M.
    Max Power Capacity: Unknown
    Status: Present, OK
    Type: Switching
    Input Voltage Range Switching: Auto-switch
    Plugged: Yes
    Hot Replaceable: No
    Input Voltage Probe Handle: 0x0091
    Cooling Device Handle: 0x0093
    Input Current Probe Handle: 0x0094

To me, that output would suggest there is only a single power supply because:
1) there is only one set of output, when I would have expected two.
2) "Hot Replaceable: No" -- I would expect this to be "Yes" if there were two.

Unfortunately, the systems that I know have dual power supplies do not
return anything useful:

# dmidecode --type 39
# dmidecode 2.12
SMBIOS 2.7 present.

Regards,
- Robert

-- 
-- 
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: [email protected]
To subscribe: [email protected]
To unsubscribe: [email protected]
More options: http://groups.google.com/group/cwelug
--- 
You received this message because you are subscribed to the Google Groups 
"Central West End Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to