Made ps() from shutil a little nicer
This commit is contained in:
parent
080af72ca6
commit
be1534124b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user