Commit be2bb6b0 authored by antirez's avatar antirez
Browse files

bgsave_in_progress field in INFO output

parent d68ed120
......@@ -3343,6 +3343,7 @@ static void infoCommand(redisClient *c) {
"connected_slaves:%d\r\n"
"used_memory:%zu\r\n"
"changes_since_last_save:%lld\r\n"
"bgsave_in_progress:%d\r\n"
"last_save_time:%d\r\n"
"total_connections_received:%lld\r\n"
"total_commands_processed:%lld\r\n"
......@@ -3353,6 +3354,7 @@ static void infoCommand(redisClient *c) {
listLength(server.slaves),
server.usedmemory,
server.dirty,
server.bgsaveinprogress,
server.lastsave,
server.stat_numconnections,
server.stat_numcommands,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment