NAME

slreportd - Distributed load reporter for Perl Schedule::Load

SYNOPSIS

slreportd [ --help ] [ --port=port ] [ --dhost=host ] [ --version ]

DESCRIPTION

slreportd will start a daemon to report machine loading for the Schedule::Load package. It will create two similar processes, so that if second process exits, the first may restart it automatically.

slreportd must be running on every host in the network, usually started with a init.d script. It reports itself to the slchoosed daemon periodically, and is responsible for checking loading and top processes specific to the host that it runs on.

slreportd may also be invoked with some variables set. This allows static host information, such as class settings to be passed to applications.

ARGUMENTS

--help

Displays this message and program version and exits.

--dhost

Specifies the daemon host name that slchoosed uses. May be specified multiple times to specify backup hosts. Defaults to SLCHOOSED_HOST environment variable, which contains colon separated host names.

--fake

Specifies load management should not be used, for reporting of a "fake" hosts' status. Often the hostname and other parameters will want to be overridden, for example:

slreportd hostname=lab_1 cpus=1 max_clock=100 osname=myos osvers=1 archname=myarch reservable=1 load_limit=1

--nofork

For debugging, prevents the daemon from creating additional processes and from going into the background. This allows messages to appear on stdout, and ctrl-C to stop the daemon.

--port

Specifies the port number that slchoosed uses.

--version

Displays program version and exits.

{variable}={value}

Sets a arbitrary constant variable to the specified value. This variable may be used so that a process requesting a machine can choose a machine with specific properties.

load_limit={value}

Set a maximum number of jobs that the scheduler can run on this machine.

SEE ALSO

slchoosed, Schedule::Load, Schedule::Load::Server, Schedule::Load::Reporter,

DISTRIBUTION

This package is distributed via CPAN.

AUTHORS

Wilson Snyder <wsnyder@wsnyder.org>