Hi, On 3 February 2012 11:27, Olivier Sallou <[email protected]> wrote: > Hi, > I wonder how to have accounting per user? > > watchclient class provide host and vm stats, but I do not see an method > in Ruby API to query accouting on a (all) user.
You should use the oneacct tool: http://www.opennebula.org/documentation:rel3.2:accounting The source code of this tool can be found in the following files: https://github.com/OpenNebula/one/blob/master/src/cli/oneacct https://github.com/OpenNebula/one/blob/master/src/acct/oneacct.rb Cheers > > Thanks > > Olivier > > -- > > gpg key id: 4096R/326D8438 (pgp.mit.edu) > Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Daniel Molina Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | [email protected] | @OpenNebula _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
