mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 11:33:09 +00:00
debug cmem print total memory used
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user