remove print statements (for testing purposes)
This commit is contained in:
parent
6e185bc89e
commit
2e832bc82e
|
@ -60,10 +60,6 @@ local function worker(format)
|
|||
-- Read content and sum up
|
||||
for line in f:lines() do
|
||||
local ltotal, lused, lfree = string.match(line, "%s+([%d]+)%s+([%d]+)%s+([%d]+)")
|
||||
print(ltotal)
|
||||
print(lused)
|
||||
print(lfree)
|
||||
|
||||
-- Add swap space in kbytes
|
||||
_swp.total = _swp.total + tonumber(ltotal)
|
||||
_swp.inuse = _swp.inuse + tonumber(lused)
|
||||
|
|
Loading…
Reference in New Issue