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:
parent
1f1b538ed6
commit
fc6fbb4188
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user