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
b3fad521
Commit
b3fad521
authored
Dec 12, 2009
by
antirez
Browse files
bgrewriteaof_in_progress added to INFO
parent
3f477979
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
b3fad521
...
@@ -5084,6 +5084,7 @@ static sds genRedisInfoString(void) {
...
@@ -5084,6 +5084,7 @@ static sds genRedisInfoString(void) {
"changes_since_last_save:%lld
\r\n
"
"changes_since_last_save:%lld
\r\n
"
"bgsave_in_progress:%d
\r\n
"
"bgsave_in_progress:%d
\r\n
"
"last_save_time:%ld
\r\n
"
"last_save_time:%ld
\r\n
"
"bgrewriteaof_in_progress:%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
"
"role:%s
\r\n
"
"role:%s
\r\n
"
...
@@ -5098,6 +5099,7 @@ static sds genRedisInfoString(void) {
...
@@ -5098,6 +5099,7 @@ static sds genRedisInfoString(void) {
server
.
dirty
,
server
.
dirty
,
server
.
bgsavechildpid
!=
-
1
,
server
.
bgsavechildpid
!=
-
1
,
server
.
lastsave
,
server
.
lastsave
,
server
.
bgrewritechildpid
!=
-
1
,
server
.
stat_numconnections
,
server
.
stat_numconnections
,
server
.
stat_numcommands
,
server
.
stat_numcommands
,
server
.
masterhost
==
NULL
?
"master"
:
"slave"
server
.
masterhost
==
NULL
?
"master"
:
"slave"
...
...
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