projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d0966a
)
RSS information in INFO output
author
antirez
<antirez@gmail.com>
Tue, 2 Nov 2010 21:47:10 +0000
(22:47 +0100)
committer
antirez
<antirez@gmail.com>
Tue, 2 Nov 2010 21:47:10 +0000
(22:47 +0100)
src/redis.c
patch
|
blob
|
blame
|
history
diff --git
a/src/redis.c
b/src/redis.c
index 6375555bdf118bf3e18cd42d9cdbad99bc8025a2..2cbfc68921499bdece7e7fd1ad61af32d35dbfe8 100644
(file)
--- 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,