LSF::Hosts - Retrieve information about LSF hosts.


LSF-Hosts documentation  | view source Contained in the LSF-Hosts distribution.

Index


NAME

Top

LSF::Hosts - Retrieve information about LSF hosts.

VERSION

Top

 0.1

SYNOPSIS

Top

use LSF::Hosts;

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

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

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

DESCRIPTION

Top

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

Top

LSF

CONSTRUCTOR

Top

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

Top

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

SEE ALSO

Top

LSF, bhosts

AUTHOR

Top

Aukjan van Belkum (aukjan@cpan.org)

COPYRIGHT

Top


LSF-Hosts documentation  | view source Contained in the LSF-Hosts distribution.