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 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 is displays in Virtual Machine Manager? Thanks in advance.