Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

Server status in mod_perl

Krist van Besien

2008-05-16

Replies:

Author LoginPost Reply
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@(protected)
krist@(protected)
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?
©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.