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
c8852ebf
Commit
c8852ebf
authored
Nov 12, 2012
by
antirez
Browse files
MIGRATE count of cached sockets in INFO output.
parent
149b527a
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis.c
View file @
c8852ebf
...
@@ -2082,7 +2082,8 @@ sds genRedisInfoString(char *section) {
...
@@ -2082,7 +2082,8 @@ sds genRedisInfoString(char *section) {
"keyspace_misses:%lld
\r\n
"
"keyspace_misses:%lld
\r\n
"
"pubsub_channels:%ld
\r\n
"
"pubsub_channels:%ld
\r\n
"
"pubsub_patterns:%lu
\r\n
"
"pubsub_patterns:%lu
\r\n
"
"latest_fork_usec:%lld
\r\n
"
,
"latest_fork_usec:%lld
\r\n
"
"migrate_cached_sockets:%ld
\r\n
"
,
server
.
stat_numconnections
,
server
.
stat_numconnections
,
server
.
stat_numcommands
,
server
.
stat_numcommands
,
getOperationsPerSecond
(),
getOperationsPerSecond
(),
...
@@ -2093,7 +2094,8 @@ sds genRedisInfoString(char *section) {
...
@@ -2093,7 +2094,8 @@ sds genRedisInfoString(char *section) {
server
.
stat_keyspace_misses
,
server
.
stat_keyspace_misses
,
dictSize
(
server
.
pubsub_channels
),
dictSize
(
server
.
pubsub_channels
),
listLength
(
server
.
pubsub_patterns
),
listLength
(
server
.
pubsub_patterns
),
server
.
stat_fork_time
);
server
.
stat_fork_time
,
dictSize
(
server
.
migrate_cached_sockets
));
}
}
/* Replication */
/* Replication */
...
...
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