Hello!

Since I recently faced the question where a complex Apache
installation spent it's time, I wrote alittle handler pair
that logs the cpu (user/system) and realtime taken by a request.

I'm proposing to name this Apache::Perfmon, and will add it to
CPAN if the more knowledgable mod_perl people have no objections.
You can download it from my private webpage for now. The
Prohosting people seem to have broken a few things with SSI
and CGI, but plain downloading works.
 
http://free.prohosting.com/~lupe/Personal/Perl/Apache-Perfmon/Apache-Perfmon-0.01.tar.gz

Below you find the README, with (hopefully) a sufficient
description of how this simple thingy works.

Lupe Christoph
------------------------------------------------------------------------
Apache::Perfmon
  Description

    Apache::Perfmon allows monitoring the cpu and realtime used by an apache
    server to service requests. It is inserted as a handler in the very
    first request phase (the PostReadRequest phase) and the very last phase
    (the Cleanup phase).

    It samples the user and system CPU time taken by the apache subprocess
    and the realtime at those processing points and prints the differences
    to a logfile. Note that there is a small overhead not included in these
    times.

  Copying

    Copyright (c) 2000 Lupe Christoph. All rights reserved.

    This program is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

  Download

        You can download Apache::Perfmon from my website at
        http://free.prohosting.com/~lupe/Personal/Perl/Apache-Perfmon/ .

  Prerequisites

    perl 5.005_03  While it is quite possible that this module will work
                   with earlier versions, it has only been tested with this
                   version.

    Apache webserver with mod_perl
                   The module has been tested with *Apache/1.3.12 (Unix)
                   mod_perl/1.24*.

  Build/Installation

    Standard build/installation supported by ExtUtils::MakeMaker(3)...

            perl Makefile.PL
            make
            make test
            make install

  Author

        Lupe Christoph <[EMAIL PROTECTED]>

  Webpage

        Apache::Perfmon has it's own webpage at
        http://free.prohosting.com/~lupe/Personal/Perl/Apache-Perfmon/ .

------------------------------------------------------------------------
-- 
| [EMAIL PROTECTED]       |        http://free.prohosting.com/~lupe |
| "jryy vg ybbxf yvxr gur l2x oht qvqa'g erne vg'f htyl urnq." "lrc. gur |
| qbbzfnlref unir orra cebira jebat lrg ntnva."  ....  "qvq lbh frr gung |
| gbb?" "ubhfgba. jr unir n ceboyrz."           User Friendly 2000-01-01 |

Reply via email to