
19 Oct
2020
19 Oct
'20
2:06 p.m.
+ line = format("%-12s %-36s %-28s %-28s %-8s\n", job_id, os_params, start_time, end_time, cost_time) + f = File.new('walk-test.report', 'a')
Use File.open block no need close the file handle.
good.
+ if res == 0 + Time.now + end
return Time.now if res == 0
good.
+logging("Job_ID", "OS", "Begin", "End", "Cost/sec")
Fixed string Use ''.
ok. Thanks, Yinsi
Thanks, Xueliang
+ +MOUNT_TYPE.each {| os_mount | get_os_array(os_mount)} -- 2.23.0