
LSF::Hosts - Retrieve information about LSF hosts.

0.1

use LSF::Hosts;
use LSF::Hosts RaiseError => 0, PrintError => 1, PrintOutput => 0;
($hinfo) = LSF::Hosts->new( [HOST_NAME] );
@hosts = LSF::Hosts->new();

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.

LSF

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).

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


Aukjan van Belkum (aukjan@cpan.org)

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)