diff --git a/modules/applications/shutil.lua b/modules/applications/shutil.lua new file mode 100644 index 0000000..84f397e --- /dev/null +++ b/modules/applications/shutil.lua @@ -0,0 +1,10 @@ +function ps() + for k,v in pairs(tT) do + print(v[1]) + end +end +function mem() + print("Total: "..tostring(computer.totalMemory()/1024).."K") + print("Free: "..tostring(computer.freeMemory()/1024).."K") + print("Used: "..tostring((computer.totalMemory()-computer.freeMemory())/1024).."K") +end