Ok, my mistake, the new resource types (CPU, RAM, primarystorage space, 
secondary storage space) are introduced in 4.2 release.

For previous releases, you can get the usage data by setting up the usage 
server as suggested by Rajesh.

--Sanjay

> -----Original Message-----
> From: cloud knight [mailto:cloudloverunleas...@gmail.com]
> Sent: Wednesday, September 04, 2013 11:54 AM
> To: users@cloudstack.apache.org
> Subject: Re: Tracking resources utilized
> 
> Hi,
> 
>    The listaccounts call provides these values,
> 
> ipavailable = Unlimited
> iplimit = Unlimited
> iptotal = 0
> networkavailable = Unlimited
> networklimit = Unlimited
> networktotal = 0
> projectavailable = Unlimited
> projectlimit = Unlimited
> projecttotal = 0
> receivedbytes = 0
> sentbytes = 99268
> snapshotavailable = Unlimited
> snapshotlimit = Unlimited
> snapshottotal = 0
> state = enabled
> templateavailable = Unlimited
> templatelimit = Unlimited
> templatetotal = 3
> vmavailable = Unlimited
> vmlimit = Unlimited
> vmrunning = 1
> vmtotal = 1
> volumeavailable = Unlimited
> volumelimit = Unlimited
> volumetotal = 6
> 
> 
> Does not mention the cores, ram allocated to the particular account right?
> I guess the only way is to calculate the number of instances of a different
> compute offerings and multiply by resources per offering.
> 
> 
> Regards,
> Cloudlover
> 
> 
> On Wed, Sep 4, 2013 at 11:26 AM, Sanjay Tripathi <sanjay.tripa...@citrix.com
> > wrote:
> 
> > You can use the listAccounts API with "id" parameter to get all the
> > account details for that account which also gives the count for
> > available and used resources.
> >
> > --Sanjay
> >
> > > -----Original Message-----
> > > From: cloud knight [mailto:cloudloverunleas...@gmail.com]
> > > Sent: Wednesday, September 04, 2013 7:50 AM
> > > To: users@cloudstack.apache.org
> > > Subject: Re: Tracking resources utilized
> > >
> > > Hi,
> > >
> > >     Found this call listcapacity(). So it gives values for
> > > clusterid,
> > podid, zoneid.
> > > Anyway of getting the same for accountid or domainid ?
> > >
> > >
> > > Regards,
> > > Cloudlover
> > >
> > >
> > > On Wed, Sep 4, 2013 at 7:27 AM, cloud knight
> > > <cloudloverunleas...@gmail.com>wrote:
> > >
> > > > Hi all,
> > > >
> > > >    The cloudstack UI dashboard shows only the total available/used
> > > > resources(Not meaning the virtual resources, Talking about cpu
> > > > count, cpu speed, ram and disk size).
> > > > Is there a way to check the per account usage? By API anymeans? or
> > > > anyway to check the resources allocated to a Vm(using api)? I
> > > > couldn't find any api calls that does this. Am i missing
> > > > something? please correct me if wrong. Thanks in advance.
> > > > Need these for creating a report of hardware resource provisioning.
> > > >
> > > >
> > > >
> >

Reply via email to