Maybe this one?
radosgw-admin bucket list --uid=<uid>
And after linux commands, grep, wc -l.
Istvan Szabo
Senior Infrastructure Engineer
---------------------------------------------------
Agoda Services Co., Ltd.
e: istvan.szabo(a)agoda.com
---------------------------------------------------
-----Original Message-----
From: Konstantin Shalygin <k0ste(a)k0ste.ru>
Sent: Thursday, February 25, 2021 12:49 PM
To: Marcelo <raxidex(a)gmail.com>
Cc: ceph-users(a)ceph.io
Subject: [Suspicious newsletter] [ceph-users] Re: List number of buckets owned per user
Email received from outside the company. If in doubt don't click links nor open
attachments!
________________________________
Or you can achieve users from bucket usage, consult with code of radosgw_usage_exporter
[1] maybe if enough to just start exporter and work with data in Grafana
Cheers,
k
[1]
https://github.com/blemmenes/radosgw_usage_exporter
On 24 Feb 2021, at 16:08, Marcelo
<raxidex(a)gmail.com> wrote:
I'm trying to list the number of buckets that users have for
monitoring purposes, but I need to list and count the number of
buckets per user. Is it possible to get this information somewhere else?
_______________________________________________
ceph-users mailing list -- ceph-users(a)ceph.io To unsubscribe send an email to
ceph-users-leave(a)ceph.io
________________________________
This message is confidential and is for the sole use of the intended recipient(s). It may
also be privileged or otherwise protected by copyright or other legal rules. If you have
received it by mistake please let us know by reply email and delete it from your system.
It is prohibited to copy this message or disclose its content to anyone. Any
confidentiality or privilege is not waived or lost by any mistaken delivery or
unauthorized disclosure of the message. All messages sent to and from Agoda may be
monitored to ensure compliance with company policies, to protect the company's
interests and to remove potential malware. Electronic messages may be intercepted,
amended, lost or deleted, or contain viruses.