Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 1.57 KB

File metadata and controls

71 lines (51 loc) · 1.57 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, authType, 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
 authType: sasl
 numReplicas: 1
 ramQuota: 104857600
 ramUsed: 45302840
airline-data
 bucketType: ephemeral
 authType: sasl
 numReplicas: 1
 ramQuota: 268435456
 ramUsed: 1134432
flight-data
 bucketType: memcached
 authType: sasl
 numReplicas: 0
 ramQuota: 104857600
 ramUsed: 0

DISCUSSION

In the output, RAM figures are in bytes. The "membase" bucketType signifies a Couchbase bucket. The authType can be either "sasl" or "none".

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]