LB

Section: User Commands (1)
Updated: options
Index Return to Main Contents
 

NAME

Lb - load balancer for homogeneous environment  

SYNOPSIS

lb [ -v | -q ] <command string>

 

DESCRIPTION

lb finds the best machine in the environment on which to run a batch type compute task. This is done by comparing load averages and computing power for various machines, and selecting the machine best able to accept the compute task. lb is especially useful in distributing compute intensive jobs among the many computers in a homogeneous environment.

 

OPTIONS

With no options, lb prints a one line output identifying the selected machine and the command being submitted.

        -v      verbose mode:  causes an excessive amount of
                information about the determination of the best
                machine selection to be printed.

        -q      quiet mode:  causes even the usual one line
                output identifying the selected machine to be
                eliminated.  The job will be sent to the remote
                machine, but you will never be told which machine
                was selected!
 

EXAMPLES

lb
       This gives the output of lb -v, but executes no command

lb fortune
       This executes "fortune" on the least loaded machine.

lb -v foobar
       This executes "foobar" on the least loaded machine, and gives
verbose messages.

lb -q minimos infile
       This executes "minimos infile" on the least loaded machine,
and gives no messages.

lb 'spice<infile>outfile'
       This is an important example. Here, a program called "spice" is
being run with redirected input and output. Anytime redirection is desired in using lb, the portion using redirection must be quoted to avoid interpretation at the originating shell. The quoted string in this example allows for the redirection to take place on the remote machine.

 

FILES

lb also requires the configuration file lb.conf which lists machines to be considered, and some basic information about them. See the manual page lb(5) for more on the configuration file.
 

CAVEATS

lb should really use csh job control so that the user may track the progress of the submitted job. Maybe in the next version.

 

NOTES

This program is still under development. Send descriptions of problems and/or comments to deke@ee.rochester.edu (also ...!rochester!ur-valhalla!deke).  

AUTHOR

Dikran Kassabian,
University of Rochester Dept. of Electrical Engineering
Rochester, NY 14627 (716) 275-3106
 

SEE ALSO

rstatd(8), statsrv(8), w(1), uptime(1), lb(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
FILES
CAVEATS
NOTES
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:49:43 GMT, February 02, 2023