Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

Apache2::Process (3)

Name

Apache2::Process - Perl API for Apache process record

Synopsis

use Apache2::Process ();
use Apache2::ServerRec ();
my $proc = $s->process;

# global pool cleared on exit
my $global_pool = $proc->pool;

# configuration pool cleared on restart
my $pconf = $proc->pconf;

# short program name (e.g. httpd)
my $proc_name = $proc->short_name;

Description

User Contributed Perl Documentation
                                build::sparcv9::docs::api::Apache2::Process(3)



NAME
       Apache2::Process - Perl API for Apache process record

Synopsis
         use Apache2::Process ();
         use Apache2::ServerRec ();
         my $proc = $s->process;

         # global pool cleared on exit
         my $global_pool = $proc->pool;

         # configuration pool cleared on restart
         my $pconf = $proc->pconf;

         # short program name (e.g. httpd)
         my $proc_name = $proc->short_name;

Description
       "Apache2::Process" provides the API for the Apache process object,
       which you can retrieve with "$s->process":

         use Apache2::ServerRec ();
         $proc = $s->process;

API
       "Apache2::Process" provides the following functions and/or methods:

   "pconf"
       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.

   "pool"
       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

   "short_name"
       The name of the program used to execute the program

         $short_name = $proc->short_name();

       obj: $proc ( "Apache2::Process object" )
       ret: $short_name (string)
           e.g. "httpd"

       since: 2.0.00

See Also
       mod_perl 2.0 documentation.

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

Authors
       The mod_perl development team and numerous contributors.



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-----------------------------------------+
       |ATTRIBUTE TYPE |            ATTRIBUTE VALUE              |
       +---------------+-----------------------------------------+
       |Availability   | web/server/apache-24/module/apache-perl |
       +---------------+-----------------------------------------+
       |Stability      | Uncommitted                             |
       +---------------+-----------------------------------------+

NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       https://www.apache.org/dist/perl/mod_perl-2.0.12.tar.gz.

       Further information about this software can be found on the open source
       community website at https://perl.apache.org/.



perl v5.32.0                      2022-01-30
                                build::sparcv9::docs::api::Apache2::Process(3)