Server status in mod_perl

Server status in mod_perl

am 16.05.2008 14:14:25 von Krist van Besien

Hello all,

Apache httpd has a module, mod_status, that gives information about.
amongst other things, the number of active workers, the number of idle
workers etc...
(See: http://httpd.apache.org/docs/2.0/mod/mod_status.html)
My question: Is there a way to access this info from within a modperl
handler? I want to write a custom status modules. I could of course
program it to make a request for /server-status and parse the result,
but is there a better way?

Krist


--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

Re: Server status in mod_perl

am 16.05.2008 14:48:08 von torsten.foertsch

On Fri 16 May 2008, Krist van Besien wrote:
> Apache httpd has a module, mod_status, that gives information about.
> amongst other things, the number of active workers, the number of idle
> workers etc...
> (See: http://httpd.apache.org/docs/2.0/mod/mod_status.html)
> My question: Is there a way to access this info from within a modperl
> handler? I want to write a custom status modules. I could of course
> program it to make a request for /server-status and parse the result,
> but is there a better way?

Have a look at Apache::Scoreboard.

Torsten

--
Need professional mod_perl support?
Just hire me: torsten.foertsch@gmx.net