From: antirez Date: Tue, 2 Nov 2010 21:47:10 +0000 (+0100) Subject: RSS information in INFO output X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/539fb43820592992c26dcb60d3901b503c6d9b77?hp=7d0966a6b712078bf7d52c13669539ba619cf1fc RSS information in INFO output --- diff --git a/src/redis.c b/src/redis.c index 6375555b..2cbfc689 100644 --- a/src/redis.c +++ b/src/redis.c @@ -1075,6 +1075,7 @@ sds genRedisInfoString(void) { "blocked_clients:%d\r\n" "used_memory:%zu\r\n" "used_memory_human:%s\r\n" + "used_memory_rss:%zu\r\n" "mem_fragmentation_ratio:%.2f\r\n" "use_tcmalloc:%d\r\n" "changes_since_last_save:%lld\r\n" @@ -1110,6 +1111,7 @@ sds genRedisInfoString(void) { server.blpop_blocked_clients, zmalloc_used_memory(), hmem, + zmalloc_get_rss(), zmalloc_get_fragmentation_ratio(), #ifdef USE_TCMALLOC 1,