How can I determine a server's power supply type remotely?
May 30, 2007 1:56 PM
Subscribe
For UNIX-like systems (Linux, BSD, Solaris) is there a way to determine power supply type remotely, preferably with a simple command-line tool?
I occasionally need to know whether servers in remote offices are AC-powered or DC-powered, and I haven't figured out a way to get that information without visual inspection, which isn't convenient for me or for central office technicians.
I'm familiar with dmidecode and lshw, but they don't seem to provide power or chassis information (when I run `lshw -C power` I get no output, so I assume power is going undetected). I thought maybe acpid or /proc/acpi/* would have useful information, but no luck there, either.
I assume this information is available to the operating system, since OS-specific tools like OpenManage seem to be able to provide it, but maybe there's something fancy happening behind the scenes (service tag --> some database --> power supply part number --> some database --> extended hardware information).
Thanks for your help!
posted by littlegreenlights to computers & internet (5 comments total)
Sometimes the AC -> DC converter is a few inches away (inside the case), and some times it's (a building rectifier) hundreds of feet. The conversion point is outside what any computer I've ever seen cares about.
posted by cmiller at 2:16 PM on May 30, 2007