docs::api::Apache2::Status - Online Linux Manual PageSection : 3
Updated : 2021-01-26
Source : perl v5.32.1
Note : User Contributed Perl Documentation

NAMEApache2::Status − Embedded interpreter status information

Synopsis<Location /perl−status> ​ ​ # disallow public access ​ Order Deny, Allow ​ Deny from all ​ Allow from 127.0.0.1 ​ ​ SetHandler modperl ​ PerlOptions +GlobalRequest ​ PerlResponseHandler Apache2::Status ​ </Location> ​ ​ or ​ ​ <Location /perl−status> ​ ​ # disallow public access ​ Order Deny, Allow ​ Deny from all ​ Allow from 127.0.0.1 ​ ​ SetHandler perl−script ​ PerlResponseHandler Apache2::Status ​ </Location>

DescriptionThe Apache2::Status module provides some information about the status of the Perl interpreter embedded in the server. Configure like so: <Location /perl−status> ​ ​ # disallow public access ​ Order Deny, Allow ​ Deny from all ​ Allow from 127.0.0.1 ​ ​ SetHandler modperl ​ PerlOptions +GlobalRequest ​ PerlResponseHandler Apache2::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 Apache2::Status as: <Location /perl−status> ​ ​ # disallow public access ​ Order Deny, Allow ​ Deny from all ​ Allow from 127.0.0.1 ​ ​ SetHandler perl−script ​ PerlResponseHandler Apache2::Status ​ </Location> Other modules can plugin a menu item like so: ​ require Apache2::Module; ​ Apache2::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 Apache2::Module::loaded('Apache2::Status'); WARNING: 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
<Location /perl−status> ​ SetHandler perl−script ​ PerlResponseHandler Apache2::Status ​ PerlSetVar StatusOptionsAll On ​ PerlSetVar StatusDeparseOptions "−p −sC"</Location> due to the implementation of Apache2::Status::noh_fileline in B::TerseSize, you must load B::TerseSize first.

Options

StatusOptionsAllThis single directive will enable all of the options described below. ​ PerlSetVar StatusOptionsAll On

StatusDumperWhen 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

StatusPeekWith this option On and the Apache::Peek module installed, functions and variables can be viewed ala Devel::Peek style: ​ PerlSetVar StatusPeek On

StatusLexInfoWith this option On and the B::LexInfo module installed, subroutine lexical variable information can be viewed. ​ PerlSetVar StatusLexInfo On

StatusDeparseWith 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.

StatusTerseWith this option On, text-based op tree graphs of subroutines can be displayed, thanks to B::Terse. ​ PerlSetVar StatusTerse On

StatusTerseSizeWith 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

StatusTerseSizeMainSummaryWith 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 suggested that this option only be used with a development server running in −X mode, as the results will be cached. ​ PerlSetVar StatusTerseSizeMainSummary On

StatusGraphWhen 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/. WARNING: Some graphs may produce very large images, some graphs may produce no image if B::Graph's output is incorrect.

DotLocation of the dot program for StatusGraph, if other than /usr/bin or /usr/local/bin

GraphDirDirectory where StatusGraph should write it's temporary image files. Default is $ServerRoot/logs/b_graphs.

PrerequisitesThe Devel::Symdump module, version 2.00 or higher. Other optional functionality requirements: B::Deparse − 0.59, ​B::Fathom − 0.05, B::Graph − 0.03.

Copyrightmod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.

See Alsoperl(1), Apache(3), Devel::Symdump(3), Data::Dumper(3), B(3), ​B::Graph(3), mod_perl 2.0 documentation.

AuthorsDoug MacEachern with contributions from Stas Bekman
0
Johanes Gumabo
Data Size   :   24,303 byte
man-Apache2::Status.3pmBuild   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   6 / 257,039
Visitor ID   :     :  
Visitor IP   :   3.148.105.152   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|252|Apache2::Status.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|Apache2::Status.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|252|Apache2::Status.3pm|43|br══─}─══|'br══─}─══ )         (htmlprn|149|Apache2::Status.3pm|43|'br══─}─══ |'br══─}─══ )