Skip to content

usf-it-rc/rsge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rsge

Ruby bindings for GridEngine

Classes

  • rsgehost
  • rsgejobs < rsgereq
  • rsgequeue
  • rsgereq

rsgehost

globalHost = Rsgehost.new("global")

puts "Number of matlab licenses max for cluster: " + globalHost.complex_value(:matlab).to_s

Methods

  • (array) complex_list
  • (string) complex_value
  • (array) load_list
  • (string) load_value

rsgejob

jobs = Rsgejob.new

jobs.each do |job|
    puts job.jobid + " " + job.owner + " " + job.state
end
...
1 user1 r
2 user2 r
3 user1 r
4 user3 w

Methods (rsgejob)

  • each
  • list
  • jobid
  • slots
  • subTime
  • startTime
  • queueName
  • hardReqQueue
  • state
  • owner
  • hardRequestList
  • hardRequest
  • softRequestList
  • softRequest

rsgequeue

require 'rsgequeue'

queues = Rsgequeue.new

queues.each do |queue|
    puts queue.name.to_s + " " + queue.used.to_s + " " + queue.available.to_s + " " + queue.total.to_s
end

Methods (rsgequeue)

  • list
  • each
  • name
  • load
  • used
  • reserved
  • available
  • total
  • disabled

rsgehost

Still under development... not expected to work.

About

GridEngine bindings for ruby!

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages