Sha256: 43e83810155c000c0ce560b93eca55cf03d636271755ae88f0a528e70aa4aac1
Contents?: true
Size: 259 Bytes
Versions: 1
Compression:
Stored size: 259 Bytes
Contents
require 'collectd' Collectd::add_server 1 c = 0 loop do Collectd.ruby_collectd(:test).ping(:fun).gauge = 42 + Math.sin(Time.now.to_f / 600) * 23.5 Collectd.ruby_collectd(:test).cpu(:time).counter = c c += 1 sleep 0.01 print '.' STDOUT.flush end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
astro-collectd-0.0.8 | examples/sender.rb |