NAME
Apache2::Status - Embedded interpreter status information
SSyynnooppssiissSetHandler modperl PerlOptions +GlobalRequest
PerlResponseHandler Apache2::Status
or
SetHandler perl-script
PerlResponseHandler Apache2::Status
DDeessccrriippttiioonnThe "Apache2::Status" module provides some information about the status
of the Perl interpreter embedded in the server. Configure like so:SetHandler modperl PerlOptions +GlobalRequest
PerlResponseHandler Apache2::Status
Notice that under the "modperl" core handler the Environment menu option will show only the environment under that handler. To see theenvironment seen by handlers running under the "perl-script" core
handler, configure "Apache2::Status" as:
SetHandler perl-script
PerlResponseHandler Apache2::Status
Other modules can "plugin" a menu item like so: require Apache2::Module;Apache2::Status->menuitem(
'DBI' => "DBI connections", #item for Apache::DBI module
sub {my ($r, $q) = @; #request and CGI objects
my (@strings); push @strings, "blobs of html";return \@strings; #return an array ref
}) if Apache2::Module::loaded('Apache2::Status');
WWAARRNNIINNGG: "Apache2::Status" must be loaded before these modules via the
"PerlModule" or "PerlRequire" directives (or from startup.pl). A very common setup might be: Perl Module B::TerseSize
SetHandler perl-script
PerlResponseHandler Apache2::Status
PerlSetVar StatusOptionsAll OnPerlSetVar StatusDeparseOptions "-p -sC"
due to the implementation of Apache2::Status::nohfileline in
B::TerseSize, you must load B::TerseSize first. Options "StatusOptionsAll" This single directive will enable all of the options described below. PerlSetVar StatusOptionsAll On ""SSttaattuussDDuummppeerr"" When browsing symbol tables, the values of arrays, hashes and scalars can be viewed via "Data::Dumper" if this configuration variable is set to "On": PerlSetVar StatusDumper On ""SSttaattuussPPeeeekk"" With this option "On" and the "Apache::Peek" module installed, functions and variables can be viewed ala "Devel::Peek" style: PerlSetVar StatusPeek On ""SSttaattuussLLeexxIInnffoo"" With this option "On" and the "B::LexInfo" module installed, subroutine lexical variable information can be viewed. PerlSetVar StatusLexInfo On ""SSttaattuussDDeeppaarrssee"" With this option "On" subroutines can be "deparsed". PerlSetVar StatusDeparse On Options can be passed to "B::Deparse::new" like so:PerlSetVar StatusDeparseOptions "-p -sC"
See the "B::Deparse" manpage for details. ""SSttaattuussTTeerrssee""With this option "On", text-based op tree graphs of subroutines can be
displayed, thanks to "B::Terse". PerlSetVar StatusTerse On ""SSttaattuussTTeerrsseeSSiizzee""With this option "On" and the "B::TerseSize" module installed, text-
based op tree graphs of subroutines and their size can be displayed. See the "B::TerseSize" docs for more info. PerlSetVar StatusTerseSize On ""SSttaattuussTTeerrsseeSSiizzeeMMaaiinnSSuummmmaarryy"" With this option "On" and the "B::TerseSize" module installed, a"Memory Usage" will be added to the "Apache2::Status" main menu. This
option is disabled by default, as it can be rather cpu intensive to summarize memory usage for the entire server. It is strongly suggestedthat this option only be used with a development server running in "-X"
mode, as the results will be cached. PerlSetVar StatusTerseSizeMainSummary On ""SSttaattuussGGrraapphh"" When "StatusDumper" is enabled, another link "OP Tree Graph" will be present with the dump if this configuration variable is set to "On": PerlSetVar StatusGraph This requires the B module (part of the Perl compiler kit) and "B::Graph" (version 0.03 or higher) module to be installed along with the "dot" program. Dot is part of the graph visualization toolkit from AT&T: http://www.graphviz.org/. WWAARRNNIINNGG: Some graphs may produce very large images, some graphs may produce no image if "B::Graph"'s output is incorrect. ""DDoott"" Location of the dot program for "StatusGraph", if other than /usr/bin or /usr/local/bin ""GGrraapphhDDiirr"" Directory where "StatusGraph" should write it's temporary image files.Default is "$ServerRoot/logs/bgraphs".
PPrreerreeqquuiissiitteess The "Devel::Symdump" module, version 2.00 or higher.Other optional functionality requirements: "B::Deparse" - 0.59,
"B::Fathom" - 0.05, ""B::Graph"" - 0.03.
CCooppyyrriigghhtt modperl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0. SSeeee AAllssoo perl(1), Apache(3), Devel::Symdump(3), Data::Dumper(3), B(3), "B::Graph"(3), modperl 2.0 documentation. AAuutthhoorrss Doug MacEachern with contributions from Stas Bekmanperl v5.8a.p8achemodperl-101.1~2::m2o0d05p-e1r0l-220.0.2::docs::api::Apache2::Status(3)