From 900ab8fc7a38a1e2b94689f319df2c8e2a47f1e9 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 25 Feb 2011 10:59:57 +0100 Subject: [PATCH] more disk store fields in INFO --- src/redis.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/redis.c b/src/redis.c index 84e5560e..73cd6dee 100644 --- a/src/redis.c +++ b/src/redis.c @@ -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(); } -- 2.45.2