Class/Module Index [+]

Quicksearch

Ruote::Look

Some methods for looking at system/runtime things.

Public Class Methods

dump_lsof() click to toggle source
# File lib/ruote/util/look.rb, line 38
def self.dump_lsof

  puts '= lsof =' + '=' * 71
  puts lsof
  puts '=' * 80
end
dump_lsof_count() click to toggle source
# File lib/ruote/util/look.rb, line 45
def self.dump_lsof_count

  puts '= lsof count =' + '=' * 65
  puts lsof.split("\n").size
  puts '=' * 80
end
lsof() click to toggle source
# File lib/ruote/util/look.rb, line 33
def self.lsof

  `lsof -p #{$$}`
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.