On Jun 26, 2014, at 2:50 AM, Eric Blake <eblake@xxxxxxxxxx> wrote: I'm still not clear how you are getting vcpu PID numbers for reading I thought the VM process’s /proc statistics information is exactly the same as the guest’s behaviour. It turns out to be my misunderstanding. Each vcpu is a thread of the VM process in qemu implementation, whose thread id can be obtained by the “-L” option of the “ps” command. It seems that I don't mention the vcpu PID. I’m referring to the VM process’s /proc/$pid. If running a VM whose image file is located on the local disk, how can i calculate the disk bandwidth(the percentage, e.g. 40% disk) used by the VM? |
_______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users