Manual Pages for UNIX Darwin command on man Apache::Status
MyWebUniversity

Manual Pages for UNIX Darwin command on man Apache::Status

Apache::Status(3) User Contributed Perl Documentation Apache::Status(3)

NAME

Apache::Status - Embedded interpreter status information

SYNOPSIS

SetHandler perl-script

PerlHandler Apache::Status

DESCRIPTION

The AAppaacchhee::::SSttaattuuss module provides some information about the status of the Perl interpreter embedded in the server. Configure like so:

SetHandler perl-script

PerlHandler Apache::Status

Other modules can "plugin" a menu item like so:

Apache::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 Apache->module("Apache::Status"); #only if Apache::Status is loaded

WWAARRNNIINNGG: Apache::Status must be loaded before these modules via the

PerlModule or PerlRequire directives. OOPPTTIIOONNSS StatusOptionsAll This single directive will enable all of the options described below. PerlSetVar StatusOptionsAll On StatusDumper When browsing symbol tables, the values of arrays, hashes ans

calars can be viewed via DDaattaa::::DDuummppeerr if this configuration vari-

able is set to On: PerlSetVar StatusDumper On StatusPeek

With this option On and the AAppaacchhee::::PPeeeekk module installed, func-

tions and variables can be viewed ala DDeevveell::::PPeeeekk style: PerlSetVar StatusPeek On StatusLexInfo With this option On and the BB::::LLeexxIInnffoo module installed, subroutine lexical variable information can be viewed. PerlSetVar StatusLexInfo On StatusDeparse With this option On and BB::::DDeeppaarrssee version 0.59 or higher (included in Perl 5.00559+), subroutines can be "deparsed". PerlSetVar StatusDeparse On Options can be passed to B::Deparse::new like so:

PerlSetVar StatusDeparseOptions "-p -sC"

See the BB::::DDeeppaarrssee manpage for details. StatusTerse

With this option On, text-based op tree graphs of subroutines can

be displayed, thanks to BB::::TTeerrssee. PerlSetVar StatusTerse On StatusTerseSize

With this option On and the BB::::TTeerrsseeSSiizzee module installed, text-

based op tree graphs of subroutines and their size can be dis-

played. See the BB::::TTeerrsseeSSiizzee docs for more info. PerlSetVar StatusTerseSize On StatusTerseSizeMainSummary

With this option On and the BB::::TTeerrsseeSSiizzee module installed, a "Mem-

ory Usage" will be added to the Apache::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 sug-

gested that this option only be used with a development server run-

ning in -XX mode, as the results will be cached.

PerlSetVar StatusTerseSizeMainSummary On StatusGraph When SSttaattuussDDuummppeerr 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 ddoott program. Dot is part of the graph visualization toolkit from AT&T: "http://www.research.att.com/sw/tools/graphviz/"). WWAARRNNIINNGG: Some graphs may produce very large images, some graphs may produce no image if B::Graph's output is incorrect. Dot Location of the dot program for StatusGraph, if other than /usr/bin or /usr/local/bin GraphDir Directory where StatusGraph should write it's temporary image

files. Default is $ServerRoot/logs/bgraphs

PPRREERREEQQUUIISSIITTEESS The Devel::Symdump module, version 22..0000 or higher.

SEE ALSO

perl(1), Apache(3), Devel::Symdump(3), Data::Dumper(3), B(3), B::Graph(3) AUTHOR Doug MacEachern

perl v5.8.6 2000-03-30 Apache::Status(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™