To retrieve information for a single bucket associated with a cluster, you make this request, where the last default can be replaced with the name of a specific bucket, if you have named buckets:
shell> curl -u admin:password http://10.4.2.5:8091/pools/default/buckets/bucket_nameCouchbase Server returns a large JSON document with bucket information including internal vBucket information:
{ "name":"default", "bucketType":"membase", "authType":"sasl", "saslPassword":"", "proxyPort":0, "uri":"/pools/default/buckets/bucket_name", "streamingUri":"/pools/default/bucketsStreaming/default", "flushCacheUri":"/pools/default/buckets/default/controller/doFlush", "nodes":[ { "systemStats": { "cpu_utilization_rate":1.5151515151515151, "swap_total":6140452864.0, "swap_used":0 }, ...... "replicaNumber":1, "quota": { "ram":10246684672.0, "rawRAM":5123342336.0 }, "basicStats": { "quotaPercentUsed":0.5281477251650123, "opsPerSec":0,"diskFetches":0, "itemCount":0, "diskUsed":7518856, "memUsed":54117632 } } ] }
GET http://10.4.2.5:8091/pools/default/buckets/bucket_name200 OK