Made ps() from shutil a little nicer

This commit is contained in:
Izaya 2017-05-15 21:14:44 +10:00
parent 080af72ca6
commit be1534124b

View File

@ -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()