httpd-users mailing list archives

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


> From: darren chamberlain [mailto:dlc@users.sourceforge.net]

> Nikhil Surve <nikse1@yahoo.com> 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 http://httpd.apache.org/docs/mod/mod_status.html,
> 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.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message