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