Some methods for looking at system/runtime things.
# File lib/ruote/util/look.rb, line 38 def self.dump_lsof puts '= lsof =' + '=' * 71 puts lsof puts '=' * 80 end
# 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
# File lib/ruote/util/look.rb, line 33 def self.lsof `lsof -p #{$$}` end
[Validate]
Generated with the Darkfish Rdoc Generator 2.