7 io
.stderr
:write("---- adding dsat --load\n")
8 el
:add_exec ("dstat --load --nocolor --noheaders --noupdate",
10 local line
= line
:gsub("\n$","")
11 print (" ** load: " .. line
)
14 io
.stderr
:write("---- adding dstat --int\n")
15 el
:add_exec ("dstat --int --nocolor --noheaders --noupdate",
17 local line
= line
:gsub("\n$","")
18 print (" ** int: " .. line
)
21 io
.stderr
:write("---- running loop\n")
24 io
.stderr
:write("---- finished\n")