Skip to content

Latest commit

 

History

History
69 lines (51 loc) · 1.48 KB

File metadata and controls

69 lines (51 loc) · 1.48 KB

bucket-list

List all buckets

SYNOPSIS

couchbase-cli bucket-list [--cluster <url>] [--username <user>]
    [--password <password>]

DESCRIPTION

Lists all buckets in the cluster. For each bucket, the following are printed to stdout: bucketType, numReplicas, ramQuota, ramUsed.

EXAMPLES

To list all buckets in the cluster, run the following command.

$ couchbase-cli bucket-list -c 192.168.1.5:8091 --username Administrator \
 --password password

 travel-data
   bucketType: membase
   numReplicas: 1
   ramQuota: 104857600
   ramUsed: 45302840
 airline-data
   bucketType: ephemeral
   numReplicas: 1
   ramQuota: 268435456
   ramUsed: 1134432
 flight-data
   bucketType: memcached
   numReplicas: 0
   ramQuota: 104857600
   ramUsed: 0

DISCUSSION

In the output, RAM figures are in bytes. The "membase" bucketType signifies a Couchbase bucket.

ENVIRONMENT AND CONFIGURATION VARIABLES

SEE ALSO

man:couchbase-cli-bucket-compact[1], man:couchbase-cli-bucket-create[1], man:couchbase-cli-bucket-delete[1], man:couchbase-cli-bucket-edit[1], man:couchbase-cli-bucket-flush[1]