OC-PsychOS2/exec/ps.lua

5 lines
107 B
Lua

print("PID# VTY# Name")
for k,v in pairs(tTasks) do
print(string.format("%4d %4d %s",k,v.t or 1,v.n))
end