This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
izaya
/
OC-PsychOS2
mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
Watch
1
Star
1
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
made ps display the pid correctly
pull/1/head
XeonSquared
4 years ago
parent
ac98d09b93
commit
d23a25613d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save