Sha256: 15710dd34a82c8f35dc127e6d30ca081c6da52ed53508f3b727eed31685bb2f6
Contents?: true
Size: 493 Bytes
Versions: 19
Compression:
Stored size: 493 Bytes
Contents
#!/usr/bin/env ruby require 'rbbt-util' require 'rbbt/util/simpleopt' $0 = "rbbt #{$previous_commands*""} #{ File.basename(__FILE__) }" if $previous_commands options = SOPT.setup <<EOF Monitor throughput $ rbbt tsv throughput Display summary information. Works with Tokyocabinet HDB and BDB as well. -h--help Help EOF SOPT.usage if options[:help] start = Time.now count = 0 max = 0 avg = 0 all = [] scale = 5 bar = Log::ProgressBar.new_bar nil while line = STDIN.gets bar.tick end
Version data entries
19 entries across 19 versions & 1 rubygems