NAME

Schedule::Load::Reporter - Distributed load reporting daemon

SYNOPSIS

  use Schedule::Load::Reporter;

  Schedule::Load::Reporter->start(dhost=>('host1', 'host2'),
				  port=>1234,);

DESCRIPTION

Schedule::Load::Reporter on startup connects to the requested server host and port. The server connected to can then poll this host for information about system configuration and current loading conditions.

start ([parameter=>value ...]);

Starts the reporter. Does not return.

PARAMETERS

dhost

List of daemon hosts that may be running the slchoosed server. The second host is only used if the first is down, and so on down the list.

port

The port number of slchoosed. Defaults to 'slchoosed' looked up via /etc/services, else 1752.

fake

Specifies load management should not be used, for reporting of a "fake" hosts' status or scheduling a non-host related resource, like a license.

min_pctcpu

The minimum percentage of the CPU that a job must have to be included in the list of top processes sent to the client. Defaults to 3. Setting to 0 will consume a lot of bandwidth.

stored_filename

The filename to store persistent items in, such as if this host is reserved. Must be either local-per-machine, or have the hostname in it. Defaults to /usr/local/lib/rschedule/slreportd_{hostname}_store. Set to undef to disable persistence (thus if the machine reboots the reservation is lost.) The path must be **ABSOLUTE** as the daemons do a chdir.

SEE ALSO

Schedule::Load, slreportd

DISTRIBUTION

This package is distributed via CPAN.

AUTHORS

Wilson Snyder <wsnyder@wsnyder.org>