Introduction to Schedule::Load

Written by Wilson Snyder <wsnyder@wsnyder.org>.

Schedule::Load is no longer being used nor supported.

Schedule::Load provides the ability to determine the best CPU across many machines, and to determine running jobs across many machines in a network. It can also act as a free LSF or batch scheduler.

# Get per-host or per top process information
use Schedule::Load::Hosts;
foreach my $host ($hosts->hosts) {
    printf $host->hostname " is on our network\n";
}
$ rhosts
    HOST    CPUs FREQ TotCPU%  LOAD  RATE  ARCH/OS
    antigua    2  997   50.3%     1 13.72  i386-linux 2.2
    cuba       2 1258    0.1%     0   inf  Reserved: wsnyder
    haiti      8  333    0.1%     0 18.67  sun4-solaris 5.8
    jamaica    2  993   70.4%     1 13.76  i386-linux 2.2
    nevis      2 1263    0.4%     0 12.67  i386-linux 2.2
    tobago     2  997  100.0%     2 14.23  i386-linux 2.2
$ rtop
    HOST       PID USER    NICE   MEM STATE RUNTM  CPU% COMMAND
    antigua  23288 jfdut     19   46M run    8:28 50.1% vt smm_rtl/mem
    antigua  24187 jfdut     19    5M run    0:11 37.7% vtbd c14_pci
    haiti    20875 jfdut     19   23M uwait  0:10 38.1% vtbd smm_rtl
    jamaica  20201 wsnyder    0   20M run    4:08 49.9% egrep
    jamaica  21196 jfdut     19  100M run    8:51 45.1% vt tte_rtl/tte
    jamaica   7194 wsnyder    0   16M sleep  1:38  3.1% emacs
    nevis    17210 dcamp      0   71M run    0:11 48.1% cc1plus
    tobago   22215 jfdut     19   78M run    9:46 49.5% vt tte_rtl/reg
    tobago   22312 jfdut     19   46M run    8:33 49.3% vt dle_rtl/mem