LSF::Queue - get information about LSF queues.
use LSF::Queue RaiseError => 0, PrintError => 1, PrintOutput => 0;
($qinfo) = LSF::Queue->new( [QUEUE_NAME] );
@qinfo = LSF::Queue->new();
LSF::Queue is a wrapper arround the LSF 'bqueues' command used to obtain information about job queues.
The hash keys of the object are LSF submission and control parameters.
See the 'bqueues' man page for more information.
With a valid queue name,
reates a new
Without a queue name returns a list of LSF::Queue objects for all the queues in the system.
Arguments are the LSF parameters normally passed to 'bqueues'
The use of the '-l' flag of the LSF command lines can be considered a bug. The parsing of LSF output is particularly unsafe if job and group names with non-alphanumeric characters are used. You probably shouldn't be doing this anyway. Otherwise, please report them.
The LSF::Batch module on cpan didn't compile easily on all platforms i wanted. The LSF API didn't seem very perlish either. As a quick fix I knocked these modules together which wrap the LSF command line interface. It was enough for my simple usage. Hopefully they work in a much more perly manner.
Mark Southern (email@example.com)
Copyright (c) 2002, Merck & Co. Inc. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the terms of the Perl Artistic License (see http://www.perl.com/perl/misc/Artistic.html)