Module: Bookie::Senders::TorqueCluster

Defined in:
lib/bookie/senders/torque_cluster.rb

Overview

Returns data from a TORQUE cluster log

Instance Method Summary collapse

Instance Method Details

#each_job(filename) ⇒ Object

Yields each job in the log



8
9
10
11
12
13
# File 'lib/bookie/senders/torque_cluster.rb', line 8

def each_job(filename)
  record = Torque::JobLog.new(filename)
  record.each_job do |job|
    yield job
  end
end

#memory_stat_typeObject



19
20
21
# File 'lib/bookie/senders/torque_cluster.rb', line 19

def memory_stat_type
  return :max
end

#system_type_nameObject



15
16
17
# File 'lib/bookie/senders/torque_cluster.rb', line 15

def system_type_name
  return "TORQUE cluster"
end