Browse Source

made ps display the pid correctly

pull/1/head
XeonSquared 4 years ago
parent
commit
d23a25613d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      exec/ps.lua

+ 1
- 1
exec/ps.lua View File

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

Loading…
Cancel
Save