>From a peer.. Rafael Peria de Sene... At Unicamp we developed a power monitor based on IPMI output to monitor our Minsky usage.
Take a look at http://177.220.10.134/powergraph On Wed, Jun 7, 2017 at 11:00 AM, Vaidyanathan Srinivasan < sva...@linux.vnet.ibm.com> wrote: > * ?????????? <1363017...@qq.com> [2017-06-06 19:59:24]: > > > 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? > > The total system power is already aggregates as provided under ipmi > dcmi command. > > You can read it like: > > Inband: (within system) > > root@ubuntu:~# ipmitool dcmi power reading > > Instantaneous power reading: 485 Watts > Minimum during sampling period: 485 Watts > Maximum during sampling period: 486 Watts > Average power reading over sample period: 485 Watts > IPMI timestamp: Wed Jun 7 15:53:08 2017 > Sampling period: 00000010 Seconds. > Power reading state is: activated > > Out-of-band: (Over BMC network) > > [sv@drishya] ~ % ipmitool -I lanplus -H bmc -U bmc-user -P bmc-pw dcmi > power reading > > Instantaneous power reading: 486 Watts > Minimum during sampling period: 483 Watts > Maximum during sampling period: 486 Watts > Average power reading over sample period: 484 Watts > IPMI timestamp: Wed Jun 7 15:54:11 2017 > Sampling period: 00000010 Seconds. > Power reading state is: activated > > > You do get component power consumption from IPMI SDR, you can get > those from inband or out-of-band. But you need not manually add it up. > On-Chip-Controller (OCC) does the power aggregation already and > exports it through DCMI power reading. > > --Vaidy > >