Manual Pages for UNIX Darwin command on man Apache2::Process
MyWebUniversity

Manual Pages for UNIX Darwin command on man Apache2::Process

apachemaopdacpheerlm-o1d01p.e1r~l2U-:s1:e0mr1o.dC1o~pn2et:rr:lim-bo2ud.t0ep.de2r:Pl:e-dr2ol.c0sD.:o2:c:au:pmdieo:nc:tsAa:pt:aiacophnie:2::A:pParcohcee2s:s:(P3r)ocess(3)

NAME

Apache2::Process - Perl API for Apache process record

SSyynnooppssiiss

use 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)




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