diff --git a/modules/applications/shutil.lua b/modules/applications/shutil.lua index 84f397e..a6713d9 100644 --- a/modules/applications/shutil.lua +++ b/modules/applications/shutil.lua @@ -1,6 +1,8 @@ function ps() for k,v in pairs(tT) do - print(v[1]) + write("pid: "..tostring(k)..", process name: "..tostring(v[1])..", env={") + for l,w in ipairs(v[3]) do write(tostring(l).." = "..tostring(w)..", ") end + print("}") end end function mem()