Is there an API for Java in getting the CPU usage of a VM in KVM? I want to know how I could get the CPU usage of a guest (from the host's perspective) using Java. Also, does anybody know where I could find the source of virt-manager so I could learn how it gets/computes the CPU usage it displays in Virtual Machine Manager?
get CPU usage of a VM (linux) using java
linux;java;kvm