You can use cbstats to get information about server warmup, including the status of warmup and whether warmup is enabled. The following are two alternates to filter for the information:
shell> cbstats localhost:11210 -b beer_sample -p bucket_password all | grep 'warmup' shell> cbstats hostname:11210 -b my_bucket -p bucket_password raw warmup
Here the localhost:11210 is the host name and
default memcached port for a given node and
beer_sample is a named bucket for the node.
If you do not specify a bucket name, the command will apply to
any existing default bucket for the node.
| ep_warmup_thread | Indicates if the warmup has completed. Returns "running" or "complete". |
| ep_warmup_state | Indicates the current progress of the warmup:
|
Be aware that this tool is a per-node, per-bucket operation. That means that if you want to perform this operation, you must specify the IP address of a node in the cluster and a named bucket. If you do not provided a named bucket, the server will apply the setting to any default bucket that exists at the specified node. If you want to perform this operation for an entire cluster, you will need to perform the command for every node/bucket combination that exists for that cluster.
There are more detailed statistics available on the warmup process. For more information, see Section 7.5.2, “Getting Warmup Information”.