From 74567e0cf4e90f7abaa5e75ea647e965e3bd331f Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 14 Apr 2020 15:53:58 -0400 Subject: [PATCH] return process memory usage in GET CACHE STATS RPC --- lib/commands/admin-rpc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/commands/admin-rpc.js b/lib/commands/admin-rpc.js index ed1d5b8a4..db2413518 100644 --- a/lib/commands/admin-rpc.js +++ b/lib/commands/admin-rpc.js @@ -50,6 +50,7 @@ var getCacheStats = function (env, server, cb) { metaSize: metaSize, channel: channelCount, channelSize: channelSize, + memoryUsage: process.memoryUsage(), }); };