Reading Apache scoreboard WITHOUT mod_perl
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers on Unix and Linux > Reading Apache scoreboard WITHOUT mod_perl




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Reading Apache scoreboard WITHOUT mod_perl  
Dan M


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-24-05 01:55 AM

I'm trying to support a server that runs multiple instances of Apache.
We've got maybe a dozen clients on the machine, each running his own
instance (I know it's not a good idea, and I do intend to get away from
running that way, but doing so will take a little while).

I want to keep track of how many clients each instance has running. I know
I can get tht instance using mod_status or Apache::Scoreboard+mod_perl.
But I'd really like to be able to get this info directly, without having
to make an http request, and installing mod_perl just for this purpose
would be a major pain.

Can anyone tell me whether it would be reasonable to read Apache's
scoreboard file to get this info? I've just started digging into the
Apache source code (2.0.54) to figure out how the scoreboard file is
written, but it's going to take me some time to figure this all out.





[ Post a follow-up to this message ]



    Re: Reading Apache scoreboard WITHOUT mod_perl  
Nick Kew


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-24-05 12:50 PM

Dan M wrote:

> Can anyone tell me whether it would be reasonable to read Apache's
> scoreboard file to get this info? I've just started digging into the
> Apache source code (2.0.54) to figure out how the scoreboard file is
> written, but it's going to take me some time to figure this all out.

In 2.0 you'd need an HTTP request (as in mod_status).

In 2.1/2.2, you could use ap_hook_monitor to monitor it.

--
Nick Kew





[ Post a follow-up to this message ]



    Re: Reading Apache scoreboard WITHOUT mod_perl  
Dan M


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-24-05 11:03 PM

On Wed, 24 Aug 2005 12:08:36 +0100, Nick Kew wrote:

> Dan M wrote:
> 
>
> In 2.0 you'd need an HTTP request (as in mod_status).
>
> In 2.1/2.2, you could use ap_hook_monitor to monitor it.

Thanks. I guess it's time to look at the docs on LWP again.

Dan





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:09 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register