Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ceph bucket usage by user #36

Open
yanganto opened this issue Mar 6, 2019 · 1 comment
Open

add ceph bucket usage by user #36

yanganto opened this issue Mar 6, 2019 · 1 comment

Comments

@yanganto
Copy link
Owner

yanganto commented Mar 6, 2019

Propose command:

s3rs > usage {username}

Expect output:

{
  "bucket01": {
    "rgw.main": {
      "num_objects": 3,
      "size": 33,
      "size_actual": 12288,
      "size_kb": 1,
      "size_kb_actual": 12,
      "size_kb_utilized": 1,
      "size_utilized": 33
    }
  },
  "bucket01": {
    "rgw.main": {
      "num_objects": 300,
      "size": 444,
      "size_actual": 999,
      "size_kb": 100,
      "size_kb_actual": 100,
      "size_kb_utilized": 100,
      "size_utilized": 200
    }
  }
}
@yanganto
Copy link
Owner Author

Note:
usage s3://bucket & usage bucket show the usage of a bucket
user usage should use another command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant