diff --git a/service/launcher.lua b/service/launcher.lua index d672542a..05912b3a 100644 --- a/service/launcher.lua +++ b/service/launcher.lua @@ -21,11 +21,7 @@ function command.STAT() local list = {} for k,v in pairs(services) do local stat = skynet.call(k,"debug","STAT") - local result = {} - for k,v in pairs(stat) do - table.insert(result, string.format("%s = %s", k, tostring(v))) - end - list[skynet.address(k)] = table.concat(result,",") .. " (" .. v .. ")" + list[skynet.address(k)] = stat end skynet.ret(skynet.pack(list)) end