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

3 lines
209 B
Lua
Raw Normal View History

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