Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
539fb438
Commit
539fb438
authored
Nov 02, 2010
by
antirez
Browse files
RSS information in INFO output
parent
7d0966a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
539fb438
...
@@ -1075,6 +1075,7 @@ sds genRedisInfoString(void) {
...
@@ -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) {
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment