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
900ab8fc
Commit
900ab8fc
authored
Feb 25, 2011
by
antirez
Browse files
more disk store fields in INFO
parent
6c682e55
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
900ab8fc
...
...
@@ -1347,8 +1347,18 @@ sds genRedisInfoString(char *section) {
info
=
sdscatprintf
(
info
,
"cache_max_memory:%llu
\r\n
"
"cache_blocked_clients:%lu
\r\n
"
"cache_io_queue_len:%lu
\r\n
"
"cache_io_jobs_new:%lu
\r\n
"
"cache_io_jobs_processing:%lu
\r\n
"
"cache_io_jobs_processed:%lu
\r\n
"
"cache_io_ready_clients:%lu
\r\n
"
,(
unsigned
long
long
)
server
.
cache_max_memory
,
(
unsigned
long
)
server
.
cache_blocked_clients
(
unsigned
long
)
server
.
cache_blocked_clients
,
(
unsigned
long
)
listLength
(
server
.
cache_io_queue
),
(
unsigned
long
)
listLength
(
server
.
io_newjobs
),
(
unsigned
long
)
listLength
(
server
.
io_processing
),
(
unsigned
long
)
listLength
(
server
.
io_processed
),
(
unsigned
long
)
listLength
(
server
.
io_ready_clients
)
);
unlockThreadedIO
();
}
...
...
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