1
1
mirror of https://git.shadowkat.net/izaya/OC-PsychOS2.git synced 2024-11-14 17:00:27 -05:00
OC-PsychOS2/exec/ps.lua

6 lines
148 B
Lua
Raw Normal View History

print("PID# Parent | Name")
2019-10-27 08:34:02 -04:00
for k,v in pairs(os.tasks()) do
local t = os.taskInfo(v)
2019-11-08 21:48:50 -05:00
print(string.format("%4d %4d | %s",v,t.parent,t.name))
2018-11-02 12:05:41 -04:00
end