mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +00:00
RSS information in INFO output
This commit is contained in:
parent
7d0966a6b7
commit
539fb43820
@ -1075,6 +1075,7 @@ sds genRedisInfoString(void) {
|
|||||||
"blocked_clients:%d\r\n"
|
"blocked_clients:%d\r\n"
|
||||||
"used_memory:%zu\r\n"
|
"used_memory:%zu\r\n"
|
||||||
"used_memory_human:%s\r\n"
|
"used_memory_human:%s\r\n"
|
||||||
|
"used_memory_rss:%zu\r\n"
|
||||||
"mem_fragmentation_ratio:%.2f\r\n"
|
"mem_fragmentation_ratio:%.2f\r\n"
|
||||||
"use_tcmalloc:%d\r\n"
|
"use_tcmalloc:%d\r\n"
|
||||||
"changes_since_last_save:%lld\r\n"
|
"changes_since_last_save:%lld\r\n"
|
||||||
@ -1110,6 +1111,7 @@ sds genRedisInfoString(void) {
|
|||||||
server.blpop_blocked_clients,
|
server.blpop_blocked_clients,
|
||||||
zmalloc_used_memory(),
|
zmalloc_used_memory(),
|
||||||
hmem,
|
hmem,
|
||||||
|
zmalloc_get_rss(),
|
||||||
zmalloc_get_fragmentation_ratio(),
|
zmalloc_get_fragmentation_ratio(),
|
||||||
#ifdef USE_TCMALLOC
|
#ifdef USE_TCMALLOC
|
||||||
1,
|
1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user