Timeout dstat command in 2h

Stop dstat command in 2h, by which, tempest would have already
finished, so dstat log would not fill up the /var space if leave
a cluster running for long.

Change-Id: I72b54f60832107ceec09d5689865ae5c0dd6261a
This commit is contained in:
Jerry Zhao 2014-08-13 14:48:35 -07:00
parent 1f1b538ed6
commit fc6fbb4188

View File

@ -25,7 +25,7 @@ package "dstat" do
end
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
end