]> git.proxmox.com Git - ceph.git/blob - ceph/doc/man/8/radosgw-admin.rst
57d7fcfc902384dbbbdcf0355113de0a01a2b5d6
[ceph.git] / ceph / doc / man / 8 / radosgw-admin.rst
1 :orphan:
2
3 =================================================================
4 radosgw-admin -- rados REST gateway user administration utility
5 =================================================================
6
7 .. program:: radosgw-admin
8
9 Synopsis
10 ========
11
12 | **radosgw-admin** *command* [ *options* *...* ]
13
14
15 Description
16 ===========
17
18 :program:`radosgw-admin` is a RADOS gateway user administration utility. It
19 allows creating and modifying users.
20
21
22 Commands
23 ========
24
25 :program:`radosgw-admin` utility uses many commands for administration purpose
26 which are as follows:
27
28 :command:`user create`
29 Create a new user.
30
31 :command:`user modify`
32 Modify a user.
33
34 :command:`user info`
35 Display information of a user, and any potentially available
36 subusers and keys.
37
38 :command:`user rename`
39 Renames a user.
40
41 :command:`user rm`
42 Remove a user.
43
44 :command:`user suspend`
45 Suspend a user.
46
47 :command:`user enable`
48 Re-enable user after suspension.
49
50 :command:`user check`
51 Check user info.
52
53 :command:`user stats`
54 Show user stats as accounted by quota subsystem.
55
56 :command:`user list`
57 List all users.
58
59 :command:`caps add`
60 Add user capabilities.
61
62 :command:`caps rm`
63 Remove user capabilities.
64
65 :command:`subuser create`
66 Create a new subuser (primarily useful for clients using the Swift API).
67
68 :command:`subuser modify`
69 Modify a subuser.
70
71 :command:`subuser rm`
72 Remove a subuser.
73
74 :command:`key create`
75 Create access key.
76
77 :command:`key rm`
78 Remove access key.
79
80 :command:`bucket list`
81 List buckets, or, if bucket specified with --bucket=<bucket>,
82 list its objects. If bucket specified adding --allow-unordered
83 removes ordering requirement, possibly generating results more
84 quickly in buckets with large number of objects.
85
86 :command:`bucket limit check`
87 Show bucket sharding stats.
88
89 :command:`bucket link`
90 Link bucket to specified user.
91
92 :command:`bucket unlink`
93 Unlink bucket from specified user.
94
95 :command:`bucket chown`
96 Link bucket to specified user and update object ACLs.
97 Use --marker to resume if command gets interrupted.
98
99 :command:`bucket stats`
100 Returns bucket statistics.
101
102 :command:`bucket rm`
103 Remove a bucket.
104
105 :command:`bucket check`
106 Check bucket index.
107
108 :command:`bucket rewrite`
109 Rewrite all objects in the specified bucket.
110
111 :command:`bucket radoslist`
112 List the rados objects that contain the data for all objects is
113 the designated bucket, if --bucket=<bucket> is specified, or
114 otherwise all buckets.
115
116 :command:`bucket reshard`
117 Reshard a bucket.
118
119 :command:`bucket sync disable`
120 Disable bucket sync.
121
122 :command:`bucket sync enable`
123 Enable bucket sync.
124
125 :command:`bi get`
126 Retrieve bucket index object entries.
127
128 :command:`bi put`
129 Store bucket index object entries.
130
131 :command:`bi list`
132 List raw bucket index entries.
133
134 :command:`bi purge`
135 Purge bucket index entries.
136
137 :command:`object rm`
138 Remove an object.
139
140 :command:`object stat`
141 Stat an object for its metadata.
142
143 :command:`object unlink`
144 Unlink object from bucket index.
145
146 :command:`object rewrite`
147 Rewrite the specified object.
148
149 :command:`objects expire`
150 Run expired objects cleanup.
151
152 :command:`period rm`
153 Remove a period.
154
155 :command:`period get`
156 Get the period info.
157
158 :command:`period get-current`
159 Get the current period info.
160
161 :command:`period pull`
162 Pull a period.
163
164 :command:`period push`
165 Push a period.
166
167 :command:`period list`
168 List all periods.
169
170 :command:`period update`
171 Update the staging period.
172
173 :command:`period commit`
174 Commit the staging period.
175
176 :command:`quota set`
177 Set quota params.
178
179 :command:`quota enable`
180 Enable quota.
181
182 :command:`quota disable`
183 Disable quota.
184
185 :command:`global quota get`
186 View global quota parameters.
187
188 :command:`global quota set`
189 Set global quota parameters.
190
191 :command:`global quota enable`
192 Enable a global quota.
193
194 :command:`global quota disable`
195 Disable a global quota.
196
197 :command:`realm create`
198 Create a new realm.
199
200 :command:`realm rm`
201 Remove a realm.
202
203 :command:`realm get`
204 Show the realm info.
205
206 :command:`realm get-default`
207 Get the default realm name.
208
209 :command:`realm list`
210 List all realms.
211
212 :command:`realm list-periods`
213 List all realm periods.
214
215 :command:`realm rename`
216 Rename a realm.
217
218 :command:`realm set`
219 Set the realm info (requires infile).
220
221 :command:`realm default`
222 Set the realm as default.
223
224 :command:`realm pull`
225 Pull a realm and its current period.
226
227 :command:`zonegroup add`
228 Add a zone to a zonegroup.
229
230 :command:`zonegroup create`
231 Create a new zone group info.
232
233 :command:`zonegroup default`
234 Set the default zone group.
235
236 :command:`zonegroup rm`
237 Remove a zone group info.
238
239 :command:`zonegroup get`
240 Show the zone group info.
241
242 :command:`zonegroup modify`
243 Modify an existing zonegroup.
244
245 :command:`zonegroup set`
246 Set the zone group info (requires infile).
247
248 :command:`zonegroup remove`
249 Remove a zone from a zonegroup.
250
251 :command:`zonegroup rename`
252 Rename a zone group.
253
254 :command:`zonegroup list`
255 List all zone groups set on this cluster.
256
257 :command:`zonegroup placement list`
258 List zonegroup's placement targets.
259
260 :command:`zonegroup placement add`
261 Add a placement target id to a zonegroup.
262
263 :command:`zonegroup placement modify`
264 Modify a placement target of a specific zonegroup.
265
266 :command:`zonegroup placement rm`
267 Remove a placement target from a zonegroup.
268
269 :command:`zonegroup placement default`
270 Set a zonegroup's default placement target.
271
272 :command:`zone create`
273 Create a new zone.
274
275 :command:`zone rm`
276 Remove a zone.
277
278 :command:`zone get`
279 Show zone cluster params.
280
281 :command:`zone set`
282 Set zone cluster params (requires infile).
283
284 :command:`zone modify`
285 Modify an existing zone.
286
287 :command:`zone list`
288 List all zones set on this cluster.
289
290 :command:`metadata sync status`
291 Get metadata sync status.
292
293 :command:`metadata sync init`
294 Init metadata sync.
295
296 :command:`metadata sync run`
297 Run metadata sync.
298
299 :command:`data sync status`
300 Get data sync status of the specified source zone.
301
302 :command:`data sync init`
303 Init data sync for the specified source zone.
304
305 :command:`data sync run`
306 Run data sync for the specified source zone.
307
308 :command:`sync error list`
309 list sync error.
310
311 :command:`sync error trim`
312 trim sync error.
313
314 :command:`zone rename`
315 Rename a zone.
316
317 :command:`zone placement list`
318 List zone's placement targets.
319
320 :command:`zone placement add`
321 Add a zone placement target.
322
323 :command:`zone placement modify`
324 Modify a zone placement target.
325
326 :command:`zone placement rm`
327 Remove a zone placement target.
328
329 :command:`pool add`
330 Add an existing pool for data placement.
331
332 :command:`pool rm`
333 Remove an existing pool from data placement set.
334
335 :command:`pools list`
336 List placement active set.
337
338 :command:`policy`
339 Display bucket/object policy.
340
341 :command:`log list`
342 List log objects.
343
344 :command:`log show`
345 Dump a log from specific object or (bucket + date + bucket-id).
346 (NOTE: required to specify formatting of date to "YYYY-MM-DD-hh")
347
348 :command:`log rm`
349 Remove log object.
350
351 :command:`usage show`
352 Show the usage information (with optional user and date range).
353
354 :command:`usage trim`
355 Trim usage information (with optional user and date range).
356
357 :command:`gc list`
358 Dump expired garbage collection objects (specify --include-all to list all
359 entries, including unexpired).
360
361 :command:`gc process`
362 Manually process garbage.
363
364 :command:`lc list`
365 List all bucket lifecycle progress.
366
367 :command:`lc process`
368 Manually process lifecycle. If a bucket is specified (e.g., via
369 --bucket_id or via --bucket and optional --tenant), only that bucket
370 is processed.
371
372 :command:`metadata get`
373 Get metadata info.
374
375 :command:`metadata put`
376 Put metadata info.
377
378 :command:`metadata rm`
379 Remove metadata info.
380
381 :command:`metadata list`
382 List metadata info.
383
384 :command:`mdlog list`
385 List metadata log which is needed for multi-site deployments.
386
387 :command:`mdlog trim`
388 Trim metadata log manually instead of relying on RGWs integrated log sync.
389 Before trimming, compare the listings and make sure the last sync was
390 complete, otherwise it can reinitiate a sync.
391
392 :command:`mdlog status`
393 Read metadata log status.
394
395 :command:`bilog list`
396 List bucket index log which is needed for multi-site deployments.
397
398 :command:`bilog trim`
399 Trim bucket index log (use start-marker, end-marker) manually instead
400 of relying on RGWs integrated log sync.
401 Before trimming, compare the listings and make sure the last sync was
402 complete, otherwise it can reinitiate a sync.
403
404 :command:`datalog list`
405 List data log which is needed for multi-site deployments.
406
407 :command:`datalog trim`
408 Trim data log manually instead of relying on RGWs integrated log sync.
409 Before trimming, compare the listings and make sure the last sync was
410 complete, otherwise it can reinitiate a sync.
411
412 :command:`datalog status`
413 Read data log status.
414
415 :command:`orphans find`
416 Init and run search for leaked rados objects.
417 DEPRECATED. See the "rgw-orphan-list" tool.
418
419 :command:`orphans finish`
420 Clean up search for leaked rados objects.
421 DEPRECATED. See the "rgw-orphan-list" tool.
422
423 :command:`orphans list-jobs`
424 List the current job-ids for the orphans search.
425 DEPRECATED. See the "rgw-orphan-list" tool.
426
427 :command:`role create`
428 create a new AWS role for use with STS.
429
430 :command:`role rm`
431 Remove a role.
432
433 :command:`role get`
434 Get a role.
435
436 :command:`role list`
437 List the roles with specified path prefix.
438
439 :command:`role modify`
440 Modify the assume role policy of an existing role.
441
442 :command:`role-policy put`
443 Add/update permission policy to role.
444
445 :command:`role-policy list`
446 List the policies attached to a role.
447
448 :command:`role-policy get`
449 Get the specified inline policy document embedded with the given role.
450
451 :command:`role-policy rm`
452 Remove the policy attached to a role
453
454 :command:`reshard add`
455 Schedule a resharding of a bucket
456
457 :command:`reshard list`
458 List all bucket resharding or scheduled to be resharded
459
460 :command:`reshard process`
461 Process of scheduled reshard jobs
462
463 :command:`reshard status`
464 Resharding status of a bucket
465
466 :command:`reshard cancel`
467 Cancel resharding a bucket
468
469 :command:`topic list`
470 List bucket notifications/pubsub topics
471
472 :command:`topic get`
473 Get a bucket notifications/pubsub topic
474
475 :command:`topic rm`
476 Remove a bucket notifications/pubsub topic
477
478 :command:`subscription get`
479 Get a pubsub subscription definition
480
481 :command:`subscription rm`
482 Remove a pubsub subscription
483
484 :command:`subscription pull`
485 Show events in a pubsub subscription
486
487 :command:`subscription ack`
488 Ack (remove) an events in a pubsub subscription
489
490
491 Options
492 =======
493
494 .. option:: -c ceph.conf, --conf=ceph.conf
495
496 Use ``ceph.conf`` configuration file instead of the default
497 ``/etc/ceph/ceph.conf`` to determine monitor addresses during
498 startup.
499
500 .. option:: -m monaddress[:port]
501
502 Connect to specified monitor (instead of looking through ceph.conf).
503
504 .. option:: --tenant=<tenant>
505
506 Name of the tenant.
507
508 .. option:: --uid=uid
509
510 The radosgw user ID.
511
512 .. option:: --new-uid=uid
513
514 ID of the new user. Used with 'user rename' command.
515
516 .. option:: --subuser=<name>
517
518 Name of the subuser.
519
520 .. option:: --access-key=<key>
521
522 S3 access key.
523
524 .. option:: --email=email
525
526 The e-mail address of the user.
527
528 .. option:: --secret/--secret-key=<key>
529
530 The secret key.
531
532 .. option:: --gen-access-key
533
534 Generate random access key (for S3).
535
536 .. option:: --gen-secret
537
538 Generate random secret key.
539
540 .. option:: --key-type=<type>
541
542 key type, options are: swift, s3.
543
544 .. option:: --temp-url-key[-2]=<key>
545
546 Temporary url key.
547
548 .. option:: --max-buckets
549
550 max number of buckets for a user (0 for no limit, negative value to disable bucket creation).
551 Default is 1000.
552
553 .. option:: --access=<access>
554
555 Set the access permissions for the sub-user.
556 Available access permissions are read, write, readwrite and full.
557
558 .. option:: --display-name=<name>
559
560 The display name of the user.
561
562 .. option:: --admin
563
564 Set the admin flag on the user.
565
566 .. option:: --system
567
568 Set the system flag on the user.
569
570 .. option:: --bucket=[tenant-id/]bucket
571
572 Specify the bucket name. If tenant-id is not specified, the tenant-id
573 of the user (--uid) is used.
574
575 .. option:: --pool=<pool>
576
577 Specify the pool name.
578 Also used with `orphans find` as data pool to scan for leaked rados objects.
579
580 .. option:: --object=object
581
582 Specify the object name.
583
584 .. option:: --date=yyyy-mm-dd
585
586 The date in the format yyyy-mm-dd.
587
588 .. option:: --start-date=yyyy-mm-dd
589
590 The start date in the format yyyy-mm-dd.
591
592 .. option:: --end-date=yyyy-mm-dd
593
594 The end date in the format yyyy-mm-dd.
595
596 .. option:: --bucket-id=<bucket-id>
597
598 Specify the bucket id.
599
600 .. option:: --bucket-new-name=[tenant-id/]<bucket>
601
602 Optional for `bucket link`; use to rename a bucket.
603 While tenant-id/ can be specified, this is never
604 necessary for normal operation.
605
606 .. option:: --shard-id=<shard-id>
607
608 Optional for mdlog list, bi list, data sync status. Required for ``mdlog trim``.
609
610 .. option:: --max-entries=<entries>
611
612 Optional for listing operations to specify the max entries.
613
614 .. option:: --purge-data
615
616 When specified, user removal will also purge all the user data.
617
618 .. option:: --purge-keys
619
620 When specified, subuser removal will also purge all the subuser keys.
621
622 .. option:: --purge-objects
623
624 When specified, the bucket removal will also purge all objects in it.
625
626 .. option:: --metadata-key=<key>
627
628 Key to retrieve metadata from with ``metadata get``.
629
630 .. option:: --remote=<remote>
631
632 Zone or zonegroup id of remote gateway.
633
634 .. option:: --period=<id>
635
636 Period id.
637
638 .. option:: --url=<url>
639
640 url for pushing/pulling period or realm.
641
642 .. option:: --epoch=<number>
643
644 Period epoch.
645
646 .. option:: --commit
647
648 Commit the period during 'period update'.
649
650 .. option:: --staging
651
652 Get the staging period info.
653
654 .. option:: --master
655
656 Set as master.
657
658 .. option:: --master-zone=<id>
659
660 Master zone id.
661
662 .. option:: --rgw-realm=<name>
663
664 The realm name.
665
666 .. option:: --realm-id=<id>
667
668 The realm id.
669
670 .. option:: --realm-new-name=<name>
671
672 New name of realm.
673
674 .. option:: --rgw-zonegroup=<name>
675
676 The zonegroup name.
677
678 .. option:: --zonegroup-id=<id>
679
680 The zonegroup id.
681
682 .. option:: --zonegroup-new-name=<name>
683
684 The new name of the zonegroup.
685
686 .. option:: --rgw-zone=<zone>
687
688 Zone in which radosgw is running.
689
690 .. option:: --zone-id=<id>
691
692 The zone id.
693
694 .. option:: --zone-new-name=<name>
695
696 The new name of the zone.
697
698 .. option:: --source-zone
699
700 The source zone for data sync.
701
702 .. option:: --default
703
704 Set the entity (realm, zonegroup, zone) as default.
705
706 .. option:: --read-only
707
708 Set the zone as read-only when adding to the zonegroup.
709
710 .. option:: --placement-id
711
712 Placement id for the zonegroup placement commands.
713
714 .. option:: --tags=<list>
715
716 The list of tags for zonegroup placement add and modify commands.
717
718 .. option:: --tags-add=<list>
719
720 The list of tags to add for zonegroup placement modify command.
721
722 .. option:: --tags-rm=<list>
723
724 The list of tags to remove for zonegroup placement modify command.
725
726 .. option:: --endpoints=<list>
727
728 The zone endpoints.
729
730 .. option:: --index-pool=<pool>
731
732 The placement target index pool.
733
734 .. option:: --data-pool=<pool>
735
736 The placement target data pool.
737
738 .. option:: --data-extra-pool=<pool>
739
740 The placement target data extra (non-ec) pool.
741
742 .. option:: --placement-index-type=<type>
743
744 The placement target index type (normal, indexless, or #id).
745
746 .. option:: --tier-type=<type>
747
748 The zone tier type.
749
750 .. option:: --tier-config=<k>=<v>[,...]
751
752 Set zone tier config keys, values.
753
754 .. option:: --tier-config-rm=<k>[,...]
755
756 Unset zone tier config keys.
757
758 .. option:: --sync-from-all[=false]
759
760 Set/reset whether zone syncs from all zonegroup peers.
761
762 .. option:: --sync-from=[zone-name][,...]
763
764 Set the list of zones to sync from.
765
766 .. option:: --sync-from-rm=[zone-name][,...]
767
768 Remove the zones from list of zones to sync from.
769
770 .. option:: --bucket-index-max-shards
771
772 Override a zone's or zonegroup's default number of bucket index shards. This
773 option is accepted by the 'zone create', 'zone modify', 'zonegroup add',
774 and 'zonegroup modify' commands, and applies to buckets that are created
775 after the zone/zonegroup changes take effect.
776
777 .. option:: --fix
778
779 Besides checking bucket index, will also fix it.
780
781 .. option:: --check-objects
782
783 bucket check: Rebuilds bucket index according to actual objects state.
784
785 .. option:: --format=<format>
786
787 Specify output format for certain operations. Supported formats: xml, json.
788
789 .. option:: --sync-stats
790
791 Option for 'user stats' command. When specified, it will update user stats with
792 the current stats reported by user's buckets indexes.
793
794 .. option:: --show-config
795
796 Show configuration.
797
798 .. option:: --show-log-entries=<flag>
799
800 Enable/disable dump of log entries on log show.
801
802 .. option:: --show-log-sum=<flag>
803
804 Enable/disable dump of log summation on log show.
805
806 .. option:: --skip-zero-entries
807
808 Log show only dumps entries that don't have zero value in one of the numeric
809 field.
810
811 .. option:: --infile
812
813 Specify a file to read in when setting data.
814
815 .. option:: --categories=<list>
816
817 Comma separated list of categories, used in usage show.
818
819 .. option:: --caps=<caps>
820
821 List of caps (e.g., "usage=read, write; user=read").
822
823 .. option:: --compression=<compression-algorithm>
824
825 Placement target compression algorithm (lz4|snappy|zlib|zstd)
826
827 .. option:: --yes-i-really-mean-it
828
829 Required for certain operations.
830
831 .. option:: --min-rewrite-size
832
833 Specify the min object size for bucket rewrite (default 4M).
834
835 .. option:: --max-rewrite-size
836
837 Specify the max object size for bucket rewrite (default ULLONG_MAX).
838
839 .. option:: --min-rewrite-stripe-size
840
841 Specify the min stripe size for object rewrite (default 0). If the value
842 is set to 0, then the specified object will always be
843 rewritten for restriping.
844
845 .. option:: --warnings-only
846
847 When specified with bucket limit check,
848 list only buckets nearing or over the current max objects per shard value.
849
850 .. option:: --bypass-gc
851
852 When specified with bucket deletion,
853 triggers object deletions by not involving GC.
854
855 .. option:: --inconsistent-index
856
857 When specified with bucket deletion and bypass-gc set to true,
858 ignores bucket index consistency.
859
860 .. option:: --max-concurrent-ios
861
862 Maximum concurrent ios for bucket operations. Affects operations that
863 scan the bucket index, e.g., listing, deletion, and all scan/search
864 operations such as finding orphans or checking the bucket index.
865 Default is 32.
866
867 Quota Options
868 =============
869
870 .. option:: --max-objects
871
872 Specify max objects (negative value to disable).
873
874 .. option:: --max-size
875
876 Specify max size (in B/K/M/G/T, negative value to disable).
877
878 .. option:: --quota-scope
879
880 The scope of quota (bucket, user).
881
882
883 Orphans Search Options
884 ======================
885
886 .. option:: --num-shards
887
888 Number of shards to use for keeping the temporary scan info
889
890 .. option:: --orphan-stale-secs
891
892 Number of seconds to wait before declaring an object to be an orphan.
893 Default is 86400 (24 hours).
894
895 .. option:: --job-id
896
897 Set the job id (for orphans find)
898
899
900 Orphans list-jobs options
901 =========================
902
903 .. option:: --extra-info
904
905 Provide extra info in the job list.
906
907
908 Role Options
909 ============
910
911 .. option:: --role-name
912
913 The name of the role to create.
914
915 .. option:: --path
916
917 The path to the role.
918
919 .. option:: --assume-role-policy-doc
920
921 The trust relationship policy document that grants an entity permission to
922 assume the role.
923
924 .. option:: --policy-name
925
926 The name of the policy document.
927
928 .. option:: --policy-doc
929
930 The permission policy document.
931
932 .. option:: --path-prefix
933
934 The path prefix for filtering the roles.
935
936
937 Bucket Notifications/PubSub Options
938 ===================================
939 .. option:: --topic
940
941 The bucket notifications/pubsub topic name.
942
943 .. option:: --subscription
944
945 The pubsub subscription name.
946
947 .. option:: --event-id
948
949 The event id in a pubsub subscription.
950
951
952 Examples
953 ========
954
955 Generate a new user::
956
957 $ radosgw-admin user create --display-name="johnny rotten" --uid=johnny
958 { "user_id": "johnny",
959 "rados_uid": 0,
960 "display_name": "johnny rotten",
961 "email": "",
962 "suspended": 0,
963 "subusers": [],
964 "keys": [
965 { "user": "johnny",
966 "access_key": "TCICW53D9BQ2VGC46I44",
967 "secret_key": "tfm9aHMI8X76L3UdgE+ZQaJag1vJQmE6HDb5Lbrz"}],
968 "swift_keys": []}
969
970 Remove a user::
971
972 $ radosgw-admin user rm --uid=johnny
973
974 Rename a user::
975
976 $ radosgw-admin user rename --uid=johny --new-uid=joe
977
978 Remove a user and all associated buckets with their contents::
979
980 $ radosgw-admin user rm --uid=johnny --purge-data
981
982 Remove a bucket::
983
984 $ radosgw-admin bucket rm --bucket=foo
985
986 Link bucket to specified user::
987
988 $ radosgw-admin bucket link --bucket=foo --bucket_id=<bucket id> --uid=johnny
989
990 Unlink bucket from specified user::
991
992 $ radosgw-admin bucket unlink --bucket=foo --uid=johnny
993
994 Rename a bucket::
995
996 $ radosgw-admin bucket link --bucket=foo --bucket-new-name=bar --uid=johnny
997
998 Move a bucket from the old global tenant space to a specified tenant::
999
1000 $ radosgw-admin bucket link --bucket=/foo --uid=12345678$12345678'
1001
1002 Link bucket to specified user and change object ACLs::
1003
1004 $ radosgw-admin bucket chown --bucket=/foo --uid=12345678$12345678'
1005
1006 Show the logs of a bucket from April 1st, 2012::
1007
1008 $ radosgw-admin log show --bucket=foo --date=2012-04-01-01 --bucket-id=default.14193.1
1009
1010 Show usage information for user from March 1st to (but not including) April 1st, 2012::
1011
1012 $ radosgw-admin usage show --uid=johnny \
1013 --start-date=2012-03-01 --end-date=2012-04-01
1014
1015 Show only summary of usage information for all users::
1016
1017 $ radosgw-admin usage show --show-log-entries=false
1018
1019 Trim usage information for user until March 1st, 2012::
1020
1021 $ radosgw-admin usage trim --uid=johnny --end-date=2012-04-01
1022
1023
1024 Availability
1025 ============
1026
1027 :program:`radosgw-admin` is part of Ceph, a massively scalable, open-source,
1028 distributed storage system. Please refer to the Ceph documentation at
1029 https://docs.ceph.com for more information.
1030
1031
1032 See also
1033 ========
1034
1035 :doc:`ceph <ceph>`\(8)
1036 :doc:`radosgw <radosgw>`\(8)