简体   繁体   中英

How to load the warmup state of couchbase in JAVA

I'm a 2st year junior web developer. As shown in the attached picture, I would like to check the [ N node warmup ] status (yellow status) in the couchbase UI in java or through the cbstats CLI . Can you please tell me how?

在此处输入图像描述

I asked, but I found the answer myself. It is a method using command as cbstats. I will write down an example below.

./cbstats -b [bucketname] -p [password] 127.0.0.1:11210 all | grep ep_degraded_mode

If you know how to use api in JAVA other than the above method, please let me know.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM