<div dir="ltr">From a peer.. Rafael Peria de Sene... <div><br></div><div>
<p class="gmail-p1">At Unicamp we developed a power monitor based on IPMI output to monitor our Minsky usage. </p><p class="gmail-p1">Take a look at <a href="http://177.220.10.134/powergraph"><span class="gmail-s1">http://177.220.10.134/powergraph</span></a></p></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 7, 2017 at 11:00 AM, Vaidyanathan Srinivasan <span dir="ltr"><<a href="mailto:svaidy@linux.vnet.ibm.com" target="_blank">svaidy@linux.vnet.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* ?????????? <<a href="mailto:1363017608@qq.com">1363017608@qq.com</a>> [2017-06-06 19:59:24]:<br>
<br>
> I use ipmitool measuring power server power consumption, getting the following results without total power consumption as the following picture, do I add all power values as total power consumption? I am eager to receive someone's replay??Thanks?<br>
<br>
The total system power is already aggregates as provided under ipmi<br>
dcmi command.<br>
<br>
You can read it like:<br>
<br>
Inband: (within system)<br>
<br>
root@ubuntu:~# ipmitool dcmi power reading<br>
<br>
Instantaneous power reading: 485 Watts<br>
Minimum during sampling period: 485 Watts<br>
Maximum during sampling period: 486 Watts<br>
Average power reading over sample period: 485 Watts<br>
IPMI timestamp: Wed Jun 7 15:53:08 2017<br>
Sampling period: 00000010 Seconds.<br>
Power reading state is: activated<br>
<br>
Out-of-band: (Over BMC network)<br>
<br>
[sv@drishya] ~ % ipmitool -I lanplus -H bmc -U bmc-user -P bmc-pw dcmi power reading<br>
<br>
Instantaneous power reading: 486 Watts<br>
Minimum during sampling period: 483 Watts<br>
Maximum during sampling period: 486 Watts<br>
Average power reading over sample period: 484 Watts<br>
IPMI timestamp: Wed Jun 7 15:54:11 2017<br>
Sampling period: 00000010 Seconds.<br>
Power reading state is: activated<br>
<br>
<br>
You do get component power consumption from IPMI SDR, you can get<br>
those from inband or out-of-band. But you need not manually add it up.<br>
On-Chip-Controller (OCC) does the power aggregation already and<br>
exports it through DCMI power reading.<br>
<br>
--Vaidy<br>
<br>
</blockquote></div><br></div></div>