
dlc at users
Dec 19, 2001, 2:44 PM
Post #2 of 3
(196 views)
Permalink
|
|
Re: How to get # of HTTP conenctions through C/C++ program
[In reply to]
|
|
Nikhil Surve <nikse1 [at] yahoo> 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 [at] httpd For additional commands, e-mail: users-help [at] httpd
|