We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35c0751 commit 25f3e8aCopy full SHA for 25f3e8a
mem.lua
@@ -0,0 +1,2 @@
1
+local c=require("computer")
2
+print(math.floor(c.totalMemory()/1024).."k RAM, "..math.floor(c.freeMemory()/1024).."k Free")
0 commit comments