A newer version of this documentation is available.

View Latest


    Provides the workload status of threads for buckets.


    Basic syntax:

    cbstats [hostname]:[port] -b [bucket_name] workload


    This command is used to check how many threads of various types are currently running.


    The following are the command options:

    Table 1. workload options
    Option Description bucket_name



    cbstats workload


    This example shows four reader threads and four writer threads on the default bucket in the cluster at The vBucket map for the bucket is grouped into multiple vBuckets, where one read worker accesses one of the vBuckets. In this example, there is one reader for each of the four vBuckets.

     ep_workload:LowPrioQ_AuxIO:InQsize:   5
     ep_workload:LowPrioQ_AuxIO:OutQsize:  0
     ep_workload:LowPrioQ_NonIO:InQsize:   55
     ep_workload:LowPrioQ_NonIO:OutQsize:  0
     ep_workload:LowPrioQ_Reader:InQsize:  20
     ep_workload:LowPrioQ_Reader:OutQsize: 0
     ep_workload:LowPrioQ_Writer:InQsize:  30
     ep_workload:LowPrioQ_Writer:OutQsize: 0
     ep_workload:num_auxio:                1
     ep_workload:num_nonio:                1
     ep_workload:num_readers:              4
     ep_workload:num_shards:               4
     ep_workload:num_sleepers:             10
     ep_workload:num_writers:              4
     ep_workload:ready_tasks:              0