← Back to team overview

openstack team mailing list archive

Re: [Nova] resource free -vs- allocated utilization?

 

On Thu, 2012-07-12 at 12:31 -0400, Jonathan Proulx wrote:
> for posterity yes the info isn't hard to find in the database:
> 
> mysql> select id,vcpus,vcpus_used,memory_mb,memory_mb_used  from compute_nodes;
> 
> I'm not terribly keen on SQL as an interface, guess if it bothers me
> enough I'll implement a different interface...

Check out the hypervisors extension and related novaclient addition, now
in trunk; I made all the information from the compute_nodes table
available via the API.
-- 
Kevin L. Mitchell <kevin.mitchell@xxxxxxxxxxxxx>



References