Mark Southern > LSF > LSF::Queue

Download:
LSF-0.9.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

LSF::Queue - get information about LSF queues.

SYNOPSIS ^

use LSF::Queue;

use LSF::Queue RaiseError => 0, PrintError => 1, PrintOutput => 0;

($qinfo) = LSF::Queue->new( [QUEUE_NAME] );

@qinfo = LSF::Queue->new();

DESCRIPTION ^

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.

INHERITS FROM ^

LSF

CONSTRUCTOR ^

new( [ [QUEUE_NAME] ] );

With a valid queue name, reates a new LSF::JobInfo object. 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'

BUGS ^

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.

HISTORY ^

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.

SEE ALSO ^

LSF, bqueues

AUTHOR ^

Mark Southern (mark_southern@merck.com)

COPYRIGHT ^

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)

syntax highlighting: