mirror of
https://github.com/fluencelabs/redis
synced 2025-04-03 16:21:03 +00:00
bgsave_in_progress field in INFO output
This commit is contained in:
parent
d68ed1201a
commit
be2bb6b07e
2
redis.c
2
redis.c
@ -3343,6 +3343,7 @@ static void infoCommand(redisClient *c) {
|
|||||||
"connected_slaves:%d\r\n"
|
"connected_slaves:%d\r\n"
|
||||||
"used_memory:%zu\r\n"
|
"used_memory:%zu\r\n"
|
||||||
"changes_since_last_save:%lld\r\n"
|
"changes_since_last_save:%lld\r\n"
|
||||||
|
"bgsave_in_progress:%d\r\n"
|
||||||
"last_save_time:%d\r\n"
|
"last_save_time:%d\r\n"
|
||||||
"total_connections_received:%lld\r\n"
|
"total_connections_received:%lld\r\n"
|
||||||
"total_commands_processed:%lld\r\n"
|
"total_commands_processed:%lld\r\n"
|
||||||
@ -3353,6 +3354,7 @@ static void infoCommand(redisClient *c) {
|
|||||||
listLength(server.slaves),
|
listLength(server.slaves),
|
||||||
server.usedmemory,
|
server.usedmemory,
|
||||||
server.dirty,
|
server.dirty,
|
||||||
|
server.bgsaveinprogress,
|
||||||
server.lastsave,
|
server.lastsave,
|
||||||
server.stat_numconnections,
|
server.stat_numconnections,
|
||||||
server.stat_numcommands,
|
server.stat_numcommands,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user