mc lb
Lists bucket statistics.
Syntax
- CLI
 - 
                  
mc lb [FLAGS] TARGET [TARGET ...] FLAGS: --account value list buckets of the account --json enable JSON lines formatted output --debug enable debug output --insecure disable SSL certificate verification --help, -h show help 
Parameters
| Parameter | Description | 
|---|---|
TARGET | 
                        The alias of a configured HPE Data Fabric Object Store deployment from which the command lists buckets and their statistics. This parameter is mandatory. | 
account | 
                        The account from which buckets and their statistics are listed. If not specified, buckets and their statistics from all accounts are listed. | 
json | 
                        Enable JSON formatted output. | 
debug | 
                        Enable output for debugging. | 
insecure | 
                        Disable SSL verification. | 
help | 
                        Show this help. | 
Examples
- List bucket statistics for the Object Store deployment with alias salesobject:
- CLI
 - 
                        
/opt/mapr/bin/mc lb salesobject --json { "status": "success", "account": "default", "created": "2021-11-24T02:09:48-08:00", "key": "finbucket", "url": "http://xxx.xxx.xxx.xxx:9000/", "size": 145952, "objectCount": 2, "inProgressCount": 0, "DeleteMarkerCount": 0, "purgeCount": 0, "legalHoldCount": 0, "retentionCount": 0, "complianceCount": 0, "objectPartsCount": 0, "multiPartPendingCount": 0, "inProgressSize": 0, "purgeSize": 0, "objectPartsSize": 0 } 
 - List statistics for all buckets in the account asia in the Object Store
               deployment with alias salesobject:
- CLI
 - 
                        
/opt/mapr/bin/mc lb --account asia salesobject