Apache::Status - Embedded interpreter status information |
Apache::Status - Embedded interpreter status information
<Location /perl-status> SetHandler modperl PerlResponseHandler Apache::Status </Location>
The Apache::Status module provides some information about the status of the Perl interpreter embedded in the server.
Configure like so:
<Location /perl-status> SetHandler modperl PerlResponseHandler Apache::Status </Location>
Notice that under the ``modperl'' core handler the Environment menu
option will show only the environment under that handler. To see the
environment seen by handlers running under the ``perl-script'' core
handler, configure Apache::Status
as:
<Location /perl-status> SetHandler perl-script PerlResponseHandler Apache::Status </Location>
Other modules can ``plugin'' a menu item like so:
Apache::Status->menu_item( '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 Apache->module("Apache::Status"); #only if Apache::Status is loaded
WARNING: Apache::Status must be loaded before these modules via the PerlModule or PerlRequire directives.
PerlSetVar StatusOptionsAll On
PerlSetVar StatusDumper On
PerlSetVar StatusPeek On
PerlSetVar StatusLexInfo On
PerlSetVar StatusDeparse On
Options can be passed to B::Deparse::new like so:
PerlSetVar StatusDeparseOptions "-p -sC"
See the B::Deparse manpage for details.
PerlSetVar StatusTerse On
PerlSetVar StatusTerseSize On
PerlSetVar StatusTerseSizeMainSummary 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.research.att.com/sw/tools/graphviz/
).
WARNING: Some graphs may produce very large images, some graphs may produce no image if B::Graph's output is incorrect.
The Devel::Symdump module, version 2.00 or higher.
perl(1), Apache(3), Devel::Symdump(3), Data::Dumper(3), B(3), B::Graph(3)
Doug MacEachern with contributions from Stas Bekman
Apache::Status - Embedded interpreter status information |