<div dir="ltr">Thank you for your reply.<div><br></div><div>Actually, the reason I expect that function from libvirt API was I don't want to install agent-like software on VM, which means I was trying to get such information without agent for cloud environment monitoring.</div><div><br></div><div>By the way, I have another question about libvirt-java binding API.</div><div><br></div><div>Does the API fully support libvirt C API functionally? I've been trying to get VM's current memory/cpu usages and network I/O of individual NICs, but the coding is not easy since the description how to use each libvirt-java binding API in Javadoc is barely sufficient. For example, Domain.memoryStats(int number) seems returning the memory usage or something related to that information, but I really don't know what "number" should be given for the parameter... The return values were even not one result per VM. What does the value exactly mean?</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>Best regards</div><div><br></div><div>bgkim</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-05 1:59 GMT+09:00 Vasiliy Tolstov <span dir="ltr"><<a href="mailto:v.tolstov@selfip.ru" target="_blank">v.tolstov@selfip.ru</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">2016-01-04 16:33 GMT+03:00 BYEONG-GI KIM <<a href="mailto:kimbyeonggi@gmail.com">kimbyeonggi@gmail.com</a>>:<br>
> hank you for the reply!<br>
><br>
> I used the term "disk usage" as what you mentioned first; the information<br>
> which can be retrieved via 'df' command on linux system...<br>
><br>
> I'll then have to consider different approach to do what I want.<br>
><br>
> Anyway, thanks again for your great help.<br>
><br>
> Best regards<br>
<br>
</span>You can install under guest vm qemu-guest-agent and get info from it.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Vasiliy Tolstov,<br>
e-mail: <a href="mailto:v.tolstov@selfip.ru">v.tolstov@selfip.ru</a><br>
</font></span></blockquote></div><br></div>