mod_perl logo
perl icon







previous page: Apache::httpd_conf - Generate an httpd.conf filepage up: mod_perl APInext page: Apache::Resource - Limit resources used by httpd children


Apache::Status - Embedded interpreter status information











mod_perl Pocket Reference

mod_perl Pocket Reference

By Andrew Ford
Writing Apache Modules with Perl and C

Writing Apache Modules with Perl and C

By Lincoln Stein, Doug MacEachern
Embedding Perl in HTML with Mason

Embedding Perl in HTML with Mason

By Dave Rolsky, Ken Williams


Table of Contents

Synopsis

  <Location /perl-status>
    SetHandler  perl-script
    PerlHandler Apache::Status
  </Location>


TOP

Description

The Apache::Status module provides some information about the status of the Perl interpreter embedded in the server.

Configure like so:

  <Location /perl-status>
    SetHandler  perl-script
    PerlHandler Apache::Status
  </Location>

Other modules can "plugin" a menu item like so:

  Apache::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 Apache->module("Apache::Status"); #only if Apache::Status is loaded

WARNING: Apache::Status must be loaded before these modules via the PerlModule or PerlRequire directives.



TOP

Options



TOP

Prerequisites

The Devel::Symdump module, version 2.00 or higher.



TOP

See Also

perl, Apache, Devel::Symdump, Data::Dumper, B, B::Graph



TOP

Maintainers

Maintainer is the person(s) you should contact with updates, corrections and patches.



TOP

Authors

Only the major authors are listed above. For contributors see the Changes file.







TOP
previous page: Apache::httpd_conf - Generate an httpd.conf filepage up: mod_perl APInext page: Apache::Resource - Limit resources used by httpd children