I've been trying to complete the diagnostics command for libvirt, so far i think i can get the cpu usage (still need a sample time of  1 second), volume and network io. I still can't get the current memory and total memory. However, i believe the latter is a problem with libvirt, since i can't get the information through virsh as well.<br>
<br><div class="gmail_quote">On Fri, Apr 20, 2012 at 1:11 PM, Tomasz Paszkowski <span dir="ltr"><<a href="mailto:ss7pro@gmail.com">ss7pro@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Please also note that diagnostics commands are not working with libvirt/qemu,kvm<div><br><div><div><div class="h5"><br><br><div class="gmail_quote">On Fri, Apr 20, 2012 at 1:23 PM, Razique Mahroua <span dir="ltr"><<a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hey, I think you would look into the "diagnostic" calls<div>the operator client (python-novaclient) has implemented it via $nova diagnostics, which likely give you the stats you are looking for</div>


<div><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:'Lucida Grande';word-spacing:0px"><span style="font-family:Helvetica"><span style="font-family:Helvetica"><b style="color:rgb(19,112,138)">Nuage & Co - Razique Mahroua</b></span><span style="color:rgb(19,112,138);font-family:Helvetica"><b> </b></span><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal">


<font color="#13708a"><a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a></font></div></span><br><span></span><span style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal"></span><span style="font-weight:normal"></span></span><span><img height="125" width="125"></span>
</span></span></span></div>
<br><div><div>Le 20 avr. 2012 à 13:17, Szymon Grzybowski a écrit :</div><br><blockquote type="cite"><div><div>Is there any way to get information about resource utilization from Openstack? Any hidden API or something like that? I'm looking for statistics about CPU, RAM usage etc. both from server itself (host) and Instances (Virtual Machines) inside openstack, because i'd like to write some piece of software which could analyze those data and for example, migrate one VM to another Host. Is it possible to do this right now in Openstack? Because all i can see on dashboard are stats about instance's type. I've seen in docs something about live-migration, but i can't find openstack's way to get informations about resources.<div>



<br></div><div>Where should i look for it in code if there is no official api, because Openstack has to collect such data right?<br clear="all"><div><br></div>-- <br><i><font color="#333333">Semy</font></i><div><font color="#666666"><br>



</font></div><br>
</div></div></div>
_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>


Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>


</blockquote></div><br></div></div><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Tomasz Paszkowski<br>SS7, Asterisk, SAN, Datacenter, Cloud Computing<br><a href="tel:%2B48500166299" value="+48500166299" target="_blank">+48500166299</a><br>

</font></span></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br>