6 lines
269 B
Lua
6 lines
269 B
Lua
|
print(" \tTotal\tFree\tUsed")
|
||
|
io.write("Mem\t")
|
||
|
io.write(tostring(math.floor(computer.totalMemory()/1024)).."K\t")
|
||
|
io.write(tostring(math.floor(computer.freeMemory()/1024)).."K\t")
|
||
|
print(tostring(math.floor((computer.totalMemory()-computer.freeMemory())/1024)).."K\t")
|