httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From darren chamberlain <...@users.sourceforge.net>
Subject Re: How to get # of HTTP conenctions through C/C++ program
Date Wed, 19 Dec 2001 21:44:26 GMT
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.
> 
> Just to give an example, Microsoft IIS webserver provides the
> performance counters, which one can read from registry using
> APIs provided by Microsoft from a C/C++ program and get all the
> performance related data ... r some similar interfaces provided
> by Apache webserver ???
> 
> I dont want to go through the Apaches native utilities or some
> third party performance querying tools.
> 
> I would really be thankful if someone can provide me
> information about this, or provide some useful pointers on
> this.

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".

(darren)

-- 
Small pleasures exclude great ones.

---------------------------------------------------------------------
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