diff --git a/service/debug_console.lua b/service/debug_console.lua index 976e35b5..b5854e51 100644 --- a/service/debug_console.lua +++ b/service/debug_console.lua @@ -286,6 +286,9 @@ function COMMAND.cmem() for k,v in pairs(info) do tmp[skynet.address(k)] = v end + tmp.total = memory.total() + tmp.block = memory.block() + return tmp end