Hi Easley, we have some older Fujitsu servers where the BMC supports power supply wattage output. ipmi-sensors on a Fujitsu RX300 shows:
ID | Name | Type | Reading | Units | Event 0 | Systemboard | Temperature | 26.00 | C | 'OK' 64 | CPU0 | Temperature | 27.00 | C | 'OK' 128 | CPU1 | Temperature | 27.00 | C | 'OK' 192 | Ambient | Temperature | 18.00 | C | 'OK' 256 | PSU | Temperature | 22.00 | C | 'OK' 320 | PSU FanControl | OEM Reserved | 24.00 | C | 'OK' 384 | PSU Power | Current | 60.00 | W | 'OK' 448 | Main +12V | Voltage | 12.06 | V | 'OK' 512 | Main -12V | Voltage | -11.91 | V | 'OK' 576 | Main +5V | Voltage | 5.00 | V | 'OK' 640 | Main 3.3V | Voltage | 3.28 | V | 'OK' 704 | Battery +3V | Voltage | 3.00 | V | 'OK' 768 | Main 2.5V | Voltage | 2.50 | V | 'OK' 832 | Stdby +3.3V | Voltage | 3.26 | V | 'OK' 896 | SSTL_Term | Voltage | 1.24 | V | 'OK' 960 | Main +1.5V | Voltage | 1.49 | V | 'OK' 1024 | VGA +2.5V | Voltage | 2.52 | V | 'OK' 1088 | Lan +1.2V | Voltage | 1.22 | V | 'OK' 1152 | Lan +2.5V | Voltage | 2.48 | V | 'OK' 1216 | SCSI +1.8V | Voltage | 1.81 | V | 'OK' 1280 | BMC +2.5V | Voltage | 2.50 | V | 'OK' 1344 | FAN SYS0 | Fan | 2640.00 | RPM | 'OK' 1408 | FAN SYS1 | Fan | 2700.00 | RPM | 'OK' 1472 | FAN SYS2 | Fan | 2460.00 | RPM | 'OK' 1536 | FAN PS0 | Fan | 3600.00 | RPM | 'OK' 1600 | FAN SYS3 | Fan | 0.00 | RPM | 'OK' 1664 | FAN SYS4 | Fan | 0.00 | RPM | 'OK' 1728 | FAN SYS5 | Fan | 0.00 | RPM | 'OK' 1792 | FAN PS1 | Fan | 0.00 | RPM | 'OK' 1856 | FAN CPU0 | Fan | 4560.00 | RPM | 'OK' 1920 | FAN CPU1 | Fan | 4800.00 | RPM | 'OK' 1984 | SEL Level | Monitor ASIC/IC | 0.00 | % | 'OK' 2048 | CPU0 PRSNT | Entity Presence | N/A | N/A | 'Entity Present' 2096 | CPU0 | Processor | N/A | N/A | 'Processor Presence detected' 2144 | CPU1 PRSNT | Entity Presence | N/A | N/A | 'Entity Present' 2192 | CPU1 | Processor | N/A | N/A | 'Processor Presence detected' 2240 | PS0 PRSNT | Entity Presence | N/A | N/A | 'Entity Present' 2288 | PS1 PRSNT | Entity Presence | N/A | N/A | 'Entity Present' 2336 | FAN SYS0 PRSNT | Entity Presence | N/A | N/A | 'Entity Present' 2384 | FAN SYS1 PRSNT | Entity Presence | N/A | N/A | 'Entity Present' 2432 | FAN SYS2 PRSNT | Entity Presence | N/A | N/A | 'Entity Present' 2480 | FAN PS0 PRSNT | Entity Presence | N/A | N/A | 'Entity Present' 2528 | FAN SYS3 PRSNT | Entity Presence | N/A | N/A | 'Entity Present' 2576 | FAN SYS4 PRSNT | Entity Presence | N/A | N/A | 'Entity Present' 2624 | FAN SYS5 PRSNT | Entity Presence | N/A | N/A | 'Entity Present' 2672 | FAN PS1 PRSNT | Entity Presence | N/A | N/A | 'Entity Present' 2720 | FAN SYS0 STAT | OEM Reserved | N/A | N/A | 'OEM Event = 0001h' 2768 | FAN SYS1 STAT | OEM Reserved | N/A | N/A | 'OEM Event = 0001h' 2816 | FAN SYS2 STAT | OEM Reserved | N/A | N/A | 'OEM Event = 0001h' 2864 | FAN PS0 STAT | OEM Reserved | N/A | N/A | 'OEM Event = 0001h' 2912 | FAN SYS3 STAT | OEM Reserved | N/A | N/A | 'OEM Event = 0020h' 2960 | FAN SYS4 STAT | OEM Reserved | N/A | N/A | 'OEM Event = 0020h' 3008 | FAN SYS5 STAT | OEM Reserved | N/A | N/A | 'OEM Event = 0020h' 3056 | FAN PS1 STAT | OEM Reserved | N/A | N/A | 'OEM Event = 0020h' 3104 | PS0 STAT | OEM Reserved | N/A | N/A | 'OEM Event = 0002h' 3152 | PS1 STAT | OEM Reserved | N/A | N/A | 'OEM Event = 0001h' 3200 | FAN CPU0 STAT | OEM Reserved | N/A | N/A | 'OEM Event = 0001h' 3248 | FAN CPU1 STAT | OEM Reserved | N/A | N/A | 'OEM Event = 0001h' 3296 | ACPI Power State | System ACPI Power State | N/A | N/A | 'S0/G0' 3344 | Watchdog | Watchdog 2 | N/A | N/A | 'OK' 3392 | PSU RED PRSNT | Entity Presence | N/A | N/A | 'Entity Present' 3440 | PSU RED STAT | OEM Reserved | N/A | N/A | 'OK' 3488 | PSU status | Power Unit | N/A | N/A | Unknown 3536 | BMC request | OEM Reserved | N/A | N/A | 'OK' 4736 | System Mgmt SW | OEM Reserved | N/A | N/A | N/A 4784 | System BIOS | OEM Reserved | N/A | N/A | N/A 4832 | BMC | OEM Reserved | N/A | N/A | Unknown As you can see, sensor ID 384 is PSU power, but I'm in doubt if the sensor value is correct - it's only 60 Watts. On a RX300S2, there is no sensor for PSU power. So we can't know the power wattage of this servers. So, the simple rule is: ipmi-sensors scans all available sensors. If there is no sensor that shows the power wattage, then maybe ipmi-oem can provide a wattage (as Al said). If it doesn't, there is (actually) no way to get the power wattage with IPMI. Regards, Olaf -------- Original-Nachricht -------- > Datum: Fri, 16 Sep 2011 09:43:35 +0800 > Von: "Easley" <[email protected]> > An: "Al Chu" <[email protected]> > CC: freeipmi-users <[email protected]> > Betreff: Re: [Freeipmi-users] The power consumption of computer > Hi Al, > Can you show me some log that ipmi-sensors excutes > on the matchine which support power/wattage? > I'm lack of matchine, and I want to known it looks like. > Thanks a lot. > --GHui > > > ------------------ Original ------------------ > From: "Al Chu"<[email protected]>; > Date: Thu, Sep 15, 2011 10:33 PM > To: "Easley"<[email protected]>; > Cc: "freeipmi-users"<[email protected]>; > Subject: Re: [Freeipmi-users] The power consumption of computer > > > Hi Easley, > > For ipmi-sensors, you can run ipmi-sensors and see what sensors are > available. For ipmi-oem, you'll have to look at the manpage and see if > your motherboard is supported. Beyond that, you'll have to check with > the motherboard manufacturer or vendor. > > IPMI does all its communication via the BMC, so it already does > everything via the BMC. > > Remember, IPMI is a standard/interface that supports many system > management and monitoring functions. However, there is no requirement > for a motherboard to support ALL the system management/monitoring > functions listed. So if a motherboard supports power/wattage readings > via standard IPMI, FreeIPMI already supports it. > > Al > > On Thu, 2011-09-15 at 00:04 -0700, Easley wrote: > > > > Al, > > Thanks a lot. It's very usefull. > > But I have a problem, how can I identify the motherboard support the > > power/wattage or not. > > I mean I program it. > > Is freeipmi take advantage of BMC? > > How I get power/wattage via BMC? > > Any help will be appreciated. > > --GHui > > > > > > ------------------ Original ------------------ > > From: "Al Chu"<[email protected]>; > > Date: Wed, Sep 14, 2011 10:38 PM > > To: "Easley"<[email protected]>; > > Cc: "freeipmi-users"<[email protected]>; > > Subject: Re: [Freeipmi-users] The power consumption of computer > > > > Hi, > > > > You can get sensor readings via ipmi-sensors, which may provide you > > with > > power/wattage information. But it depends on the motherboard. If > > your > > motherboard doesn't support those sensors, you're out of luck. > > > > A few motherboard vendors have OEM specific extensions that support > > power/watt readings which you can get via ipmi-oem. But those are > > motherboard specific. You can check the manpage for ipmi-oem to see > > if > > any extensions for your motherboard are there. > > > > In the future, I hope to extend FreeIPMI to support some additional > > power measurement features. But that's a ways out (many motherboards > > don't support it yet, so I don't have anything to try it/test it on). > > > > Hope that helps, > > > > Al > > > > On Wed, 2011-09-14 at 07:05 -0700, Easley wrote: > > > Can I get power(Watt) via FreeIPMI? > > > Or if I want to get power(Watt), What can I do? > > > Any help will be appreciated. > > > _______________________________________________ > > > Freeipmi-users mailing list > > > [email protected] > > > https://lists.gnu.org/mailman/listinfo/freeipmi-users > > -- > > Albert Chu > > [email protected] > > Computer Scientist > > High Performance Systems Division > > Lawrence Livermore National Laboratory > > > > > -- > Albert Chu > [email protected] > Computer Scientist > High Performance Systems Division > Lawrence Livermore National Laboratory > _______________________________________________ > Freeipmi-users mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/freeipmi-users _______________________________________________ Freeipmi-users mailing list [email protected] https://lists.gnu.org/mailman/listinfo/freeipmi-users
