remove print statements (for testing purposes)

This commit is contained in:
mutlusun 2018-06-06 22:46:03 +02:00
parent 6e185bc89e
commit 2e832bc82e
1 changed files with 0 additions and 4 deletions

View File

@ -60,10 +60,6 @@ local function worker(format)
-- Read content and sum up -- Read content and sum up
for line in f:lines() do for line in f:lines() do
local ltotal, lused, lfree = string.match(line, "%s+([%d]+)%s+([%d]+)%s+([%d]+)") local ltotal, lused, lfree = string.match(line, "%s+([%d]+)%s+([%d]+)%s+([%d]+)")
print(ltotal)
print(lused)
print(lfree)
-- Add swap space in kbytes -- Add swap space in kbytes
_swp.total = _swp.total + tonumber(ltotal) _swp.total = _swp.total + tonumber(ltotal)
_swp.inuse = _swp.inuse + tonumber(lused) _swp.inuse = _swp.inuse + tonumber(lused)