1
1
mirror of https://git.shadowkat.net/izaya/OC-PsychOS2.git synced 2024-11-29 14:11:33 -05:00
OC-PsychOS2/exec/free.lua

3 lines
197 B
Lua
Raw Normal View History

2018-11-02 12:05:41 -04:00
print("Total Used Free")
print(string.format("%4dK %4dK %4dK",computer.totalMemory()/1024,math.floor((computer.totalMemory()-computer.freeMemory())/1024),math.floor(computer.freeMemory()/1024)))