Apache-Scoreboard

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

Dummy/Makefile.PL
Dummy/dummy.c
Dummy/typemap
MANIFEST			     This list of files
Makefile.PL
README
Scoreboard.xs
TODO
apxs/mod_scoreboard_send.c
apxs/send.c
examples/scoreboard-access-png.pl
examples/scoreboard-cpu-png.pl
examples/scoreboard-mem-usage-png.pl
examples/scoreboard-status-png.pl
lib/Apache/Scoreboard.pm
lib/Apache/ScoreboardGraph.pm
t/TEST.PL
t/conf/extra.conf.in
t/conf/modperl_extra.pl
t/external/basic.t
t/internal/basic.t
t/lib/MyTest/Common.pm
t/response/TestInternal/basic.pm
typemap

examples/scoreboard-access-png.pl  view on Meta::CPAN

    $image = Apache::Scoreboard->fetch("http://$host/scoreboard");
}

my $sbgraph = Apache::ScoreboardGraph->new({image => $image});
my($graph, $data) = $sbgraph->access;

if (IS_MODPERL) {
    print $graph->plot($data);
}
else {
    $graph->plot_to_png("scoreboard-access.png", $data);
}


examples/scoreboard-cpu-png.pl  view on Meta::CPAN

    $image = Apache::Scoreboard->fetch("http://$host/scoreboard");
}

my $sbgraph = Apache::ScoreboardGraph->new({image => $image});
my($graph, $data) = $sbgraph->cpu;

if (IS_MODPERL) {
    print $graph->plot($data);
}
else {
    $graph->plot_to_png("scoreboard-cpu.png", $data);
}


examples/scoreboard-mem-usage-png.pl  view on Meta::CPAN

    $gtop_host = shift;
}

my $sbgraph = Apache::ScoreboardGraph->new({image => $image});
my($graph, $data) = $sbgraph->mem_usage({gtop_host => $gtop_host});

if (IS_MODPERL) {
    print $graph->plot($data);
}
else {
    $graph->plot_to_png("scoreboard-mem-usage.png", $data);
}


examples/scoreboard-status-png.pl  view on Meta::CPAN

    $image = Apache::Scoreboard->fetch("http://$host/scoreboard");
}

my $sbgraph = Apache::ScoreboardGraph->new({image => $image});
my($graph, $data) = $sbgraph->status;

if (IS_MODPERL) {
    print $graph->plot($data);
}
else {
    $graph->plot_to_png("scoreboard-status.png", $data);
}



( run in 3.267 seconds using v1.01-cache-2.11-cpan-df04353d9ac )