Sha256: b4b085a0420782938fcbd2f84059d5446955e3d4a9bf85f3186ff058cc66449e
Contents?: true
Size: 399 Bytes
Versions: 54
Compression:
Stored size: 399 Bytes
Contents
require_utility 'clear_util.rb' def collect (type, duration, call_clear = false) # Get the current collects telemetry point collects = tlm('INST HEALTH_STATUS COLLECTS') #Command the collect cmd("INST COLLECT with TYPE #{type}, DURATION #{duration}") #Wait for telemetry to update wait_check("INST HEALTH_STATUS COLLECTS == #{collects + 1}", 10) clear_collects() if call_clear end
Version data entries
54 entries across 54 versions & 1 rubygems