Skip to content

Commit

Permalink
maxmemory INFO field added.
Browse files Browse the repository at this point in the history
  • Loading branch information
khamin committed Oct 11, 2010
1 parent 144a5e7 commit 086e62a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/redis.c
Expand Up @@ -1172,6 +1172,7 @@ sds genRedisInfoString(void) {
"blocked_clients:%d\r\n"
"used_memory:%zu\r\n"
"used_memory_human:%s\r\n"
"maxmemory:%llu\r\n"
"mem_fragmentation_ratio:%.2f\r\n"
"changes_since_last_save:%lld\r\n"
"bgsave_in_progress:%d\r\n"
Expand Down Expand Up @@ -1203,6 +1204,7 @@ sds genRedisInfoString(void) {
server.blpop_blocked_clients,
zmalloc_used_memory(),
hmem,
server.maxmemory,
zmalloc_get_fragmentation_ratio(),
server.dirty,
server.bgsavechildpid != -1,
Expand Down

0 comments on commit 086e62a

Please sign in to comment.