1
1
mirror of https://git.shadowkat.net/izaya/OC-PsychOS2.git synced 2024-11-14 08:50:00 -05:00
OC-PsychOS2/exec/ps.lua
2019-11-09 13:48:50 +11:00

6 lines
148 B
Lua

print("PID# Parent | Name")
for k,v in pairs(os.tasks()) do
local t = os.taskInfo(v)
print(string.format("%4d %4d | %s",v,t.parent,t.name))
end