cluster info
CLUSTER
CLUSTER INFO
CLUSTER INFO provides INFO style information about Redis Cluster vital parameters- The following is a sample output, followed by the description of each field reported-
cluster_state:ok cluster_slots_assigned:16384 cluster_slots_ok:16384 cluster_slots_pfail:0 cluster_slots_fail:0 cluster_known_nodes:6 cluster_size:3 cluster_current_epoch:6 cluster_my_epoch:2 cluster_stats_messages_sent:1483972 cluster_stats_messages_received:1483968
-
cluster_state
: State isok
if the node is able to receive queries-fail
if there is at least one hash slot which is unbound (no node associated), in error state (node serving it is flagged with FAIL flag), or if the majority of masters can't