lib/beaker-benchmark/helpers.rb in beaker-benchmark-0.0.4 vs lib/beaker-benchmark/helpers.rb in beaker-benchmark-0.0.5
- old
+ new
@@ -73,9 +73,10 @@
additional_args = ',PRC,PRM,PRD' if include_processes
atop_cmd = "sh -c 'nohup atop -P CPU,SWP,DSK#{additional_args} -i #{sample_interval} > #{@atop_log_filename} 2>&1 &'"
on(infrastructure_host, atop_cmd)
@beaker_benchmark_start = Time.now
+ return @@session_timestamp
end
def stop_monitoring(infrastructure_host, process_regex='.*')
begin
if defined?@beaker_benchmark_start && !@beaker_benchmark_start.nil?