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
be2bb6b0
Commit
be2bb6b0
authored
Apr 27, 2009
by
antirez
Browse files
bgsave_in_progress field in INFO output
parent
d68ed120
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
be2bb6b0
...
...
@@ -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
,
...
...
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