NAME
Apache2::Process - Perl API for Apache process record
SSyynnooppssiissuse Apache2::Process ();
use Apache2::ServerRec ();my $proc = $s->process;
# global pool cleared on exit
my $globalpool = $proc->pool;
# configuration pool cleared on restart
my $pconf = $proc->pconf;
# short program name (e.g. httpd)
my $procname = $proc->shortname;
DDeessccrriippttiioonn"Apache2::Process" provides the API for the Apache process object,
which you can retrieve with "$s->process":
use Apache2::ServerRec ();$proc = $s->process;
AAPPII"Apache2::Process" provides the following functions and/or methods:
""ppccoonnff"" Get configuration pool object.$p = $proc->pconf();
obj: $proc ( "Apache2::Process object" )
ret: $p ( "APR::Pool object" )
since: 2.0.00 This pool object gets cleared on server restart. ""ppooooll"" Get the global pool object.$p = $proc->pool();
obj: $proc ( "Apache2::Process object" )
ret: $p ( "APR::Pool object" )
since: 2.0.00 This pool object gets cleared only on (normal) server exit ""sshhoorrttnnaammee"" The name of the program used to execute the program$shortname = $proc->shortname();
obj: $proc ( "Apache2::Process object" )
ret: $shortname (string)
e.g. "httpd" since: 2.0.00 SSeeee AAllssoo modperl 2.0 documentation. CCooppyyrriigghhtt modperl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0. AAuutthhoorrss The modperl development team and numerous contributors.perl v5.a8p.a8chemodperl-101.1~2::mo2d00p5e-r1l0-22.00.2::docs::api::Apache2::Process(3)