show cluster.links in MEMORY STATS
@@ -1532,7 +1532,7 @@ NULL
} else if (!strcasecmp(c->argv[1]->ptr,"stats") && c->argc == 2) {
struct redisMemOverhead *mh = getMemoryOverheadData();
- addReplyMapLen(c,26+mh->num_dbs);
+ addReplyMapLen(c,27+mh->num_dbs);
addReplyBulkCString(c,"peak.allocated");
addReplyLongLong(c,mh->peak_allocated);
@@ -1552,6 +1552,9 @@ NULL
addReplyBulkCString(c,"clients.normal");
addReplyLongLong(c,mh->clients_normal);
+ addReplyBulkCString(c,"cluster.links");
+ addReplyLongLong(c,mh->cluster_links);
+
addReplyBulkCString(c,"aof.buffer");
addReplyLongLong(c,mh->aof_buffer);
