NAME

LSF::Hosts - Retrieve information about LSF hosts.

VERSION

0.1

SYNOPSIS

use LSF::Hosts;

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

($hinfo) = LSF::Hosts->new( [HOST_NAME] );

@hosts = LSF::Hosts->new();

DESCRIPTION

LSF::Hosts is a wrapper arround the LSF 'bhosts' command used to obtain information about lsf hosts. The hash keys of the object are LSF bhosts header values. See the 'bhosts' man page for more information.

INHERITS FROM

LSF

CONSTRUCTOR

new( [ [HOST_NAME] ] );

With a valid hostname, creates a new LSF::Hosts object. Without a hostname returns a list of LSF::Hosts objects for all the hosts in the system. Takes no arguments (jet).

HISTORY

Based on (read ripped from) LSF::Queues by Mark Southern (mark_southern@merck.com).

SEE ALSO

LSF, bhosts

AUTHOR

Aukjan van Belkum (aukjan@cpan.org)

COPYRIGHT

Copyright (c) 2005, Aukjan van Belkum. 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)