httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject RE: How to get # of HTTP conenctions through C/C++ program
Date Wed, 19 Dec 2001 21:57:40 GMT

> From: darren chamberlain []

> Nikhil Surve <> said something to this effect on
> 12/19/2001:
> > It would be very nice if nyone can provide me some links or
> > info about Apache HTTP server providing some exposed APIs, such
> > that i can write a program in C/C++ and call this APIs and get
> > the performance related information directly from Apache HTTP
> > webserver ???  This performance related data couldbe like
> > current count of HTTP connections establised with Apache
> > webserver.

> You can parse the output of http://servername/server-status?auto,
> yes?  Look at,
> specifically the section "Machine Readable Status File".

Right.  And if you really must do it in C, then look at the source code for
mod_status, which will show you how to use the API to get the data.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message