Thanks for your help!! That's what I need.

Regards,
Horace Ng

----- Original Message -----
From: "Daniel Gryniewicz" <d...@redhat.com>
To: ceph-users@lists.ceph.com
Sent: Thursday, July 21, 2016 10:34:14 PM
Subject: Re: [ceph-users] Radosgw admin ops API command question

On 07/21/2016 05:04 AM, Horace wrote:
> Hello all,
>
> I've a question regarding Ceph Radosgw Admin ops API would like to ask your 
> help. I couldn't find the API equivalent of the follow CLI command to look up 
> the total bytes of a user. Your help will be appreciated, thanks in advance!
>
> radosgw-admin user stats --uid=user1
>
> http://docs.ceph.com/docs/master/radosgw/adminops/
>
>
> Regards,
> Horace Ng

It looks like the "Get User Info" API call can return stats by passing a 
boolean argument stats=true.  This is not in the documentation, but is 
in the code.

Daniel

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to