Sha256: 956a7d78abe96e96713afe132bf8d2d18b4d7a750337249f5a2d9bebc943e937

Contents?: true

Size: 157 Bytes

Versions: 14

Compression:

Stored size: 157 Bytes

Contents

collect do
  event(
    :metric => File.read('/proc/sys/fs/file-nr').split(' ').first.to_i, 
    :description => "Number of allocated file handles" 
  )
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
kurchatov-0.0.5.pre5 examples/openfiles.rb
kurchatov-0.0.5.pre4 examples/openfiles.rb
kurchatov-0.0.5.pre2 examples/openfiles.rb
kurchatov-0.0.5.pre1 examples/openfiles.rb
kurchatov-0.0.4 examples/openfiles.rb
kurchatov-0.0.4d examples/openfiles.rb
kurchatov-0.0.4c examples/openfiles.rb
kurchatov-0.0.4b examples/openfiles.rb
kurchatov-0.0.3 examples/openfiles.rb
kurchatov-0.0.3b examples/openfiles.rb
kurchatov-0.0.3a examples/openfiles.rb
kurchatov-0.0.2 examples/openfiles.rb
kurchatov-0.0.2b examples/openfiles.rb
kurchatov-0.0.1 examples/openfiles.rb