Sha256: aa1b0202ba96f7fed28f2da7c0bc4e1463eea6e3eb9d85b55e7847e706e7474e
Contents?: true
Size: 516 Bytes
Versions: 504
Compression:
Stored size: 516 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, :desc => "Throughput" while line = STDIN.gets bar.tick end
Version data entries
504 entries across 504 versions & 1 rubygems