1
1
mirror of https://git.shadowkat.net/izaya/OC-PsychOS2.git synced 2024-11-13 00:27:00 -05:00
OC-PsychOS2/exec/ps.lua
XeonSquared aaccc053d3 cursed
2019-10-27 23:34:02 +11:00

6 lines
142 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",k,v.parent,v.name))
end