This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



apache_mod_perl-103~96::mod_perl-2.0.d_prl.0.4::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.



perl v5.10.0                          apache_mod_-16::mod_perl-2.0.4::docs::api::Apache2::Process(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.