title: Measure energy consumption in java
body: <p>I have already searched for the answers but no one seems to have an exact answer for my problem. I want to measure the energy consumption of a virtual machine when a java program or any program is executed in virtual machine. Also it would be great if we can measure the energy consumption of each core in virtual machine. What plugin in Java can be used to gauge the energy consumption of a Virtual Machine ?</p>