diff --git a/exec/free.lua b/exec/free.lua index f32690c..6cefc09 100644 --- a/exec/free.lua +++ b/exec/free.lua @@ -1,2 +1,2 @@ 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))) +print(string.format("%4iK %4iK %4iK",math.floor(computer.totalMemory()/1024),math.floor((computer.totalMemory()-computer.freeMemory())/1024),math.floor(computer.freeMemory()/1024)))