=head1 NAME Apache::Status - Embedded interpreter status information =head1 Synopsis # disallow public access Order Deny, Allow Deny from all Allow from 127.0.0.1 SetHandler perl-script PerlHandler Apache::Status =head1 Description The C module provides some information about the status of the Perl interpreter embedded in the server. Configure like so: # disallow public access Order Deny, Allow Deny from all Allow from 127.0.0.1 SetHandler perl-script PerlHandler Apache::Status 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 B: C must be loaded before these modules via the C or C directives. =head1 Options =over 4 =item StatusOptionsAll This single directive will enable all of the options described below. PerlSetVar StatusOptionsAll On =item StatusDumper When browsing symbol tables, the values of arrays, hashes and scalars can be viewed via C if this configuration variable is set to On: PerlSetVar StatusDumper On =item StatusPeek With this option I and the C module installed, functions and variables can be viewed ala C style: PerlSetVar StatusPeek On =item StatusLexInfo With this option On and the C module installed, subroutine lexical variable information can be viewed. PerlSetVar StatusLexInfo On =item StatusDeparse With this option On and C version 0.59 or higher (included in Perl 5.005_59+), subroutines can be "deparsed". PerlSetVar StatusDeparse On Options can be passed to C like so: PerlSetVar StatusDeparseOptions "-p -sC" See the C manpage for details. =item StatusTerse With this option I, text-based op tree graphs of subroutines can be displayed, thanks to C. PerlSetVar StatusTerse On =item StatusTerseSize With this option On and the C module installed, text-based op tree graphs of subroutines and their size can be displayed. See the C docs for more info. PerlSetVar StatusTerseSize On =item StatusTerseSizeMainSummary With this option On and the C module installed, a "Memory Usage" will be added to the C 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 suggested that this option only be used with a development server running in C<-X> mode, as the results will be cached. PerlSetVar StatusTerseSizeMainSummary On =item StatusGraph When C 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 C module (part of the Perl compiler kit) and C (version 0.03 or higher) module to be installed along with the C program. Dot is part of the graph visualization toolkit from AT&T: http://www.research.att.com/sw/tools/graphviz/ ). B: Some graphs may produce very large images, some graphs may produce no image if C's output is incorrect. =item Dot Location of the dot program for C, if other than I or I. =item GraphDir Directory where C should write it's temporary image files. Default is I<$ServerRoot/logs/b_graphs>. =back =head1 Prerequisites The C module, version B<2.00> or higher. =head1 See Also perl, L, C, C, C, C =head1 Maintainers Maintainer is the person(s) you should contact with updates, corrections and patches. =over =item * The L =back =head1 Authors =over =item * Doug MacEachern =back Only the major authors are listed above. For contributors see the Changes file. =cut