Merge "Timeout dstat command in 2h"
This commit is contained in:
commit
1c22e98196
@ -25,7 +25,7 @@ package "dstat" do
|
|||||||
end
|
end
|
||||||
|
|
||||||
execute "dstat" do
|
execute "dstat" do
|
||||||
command "dstat -tcmndp --top-cpu >>/var/log/dstat.log &"
|
command "timeout 7200s dstat -tcmndp --top-cpu >>/var/log/dstat.log &"
|
||||||
action :run
|
action :run
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user