httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Apache Status API
Date Wed, 07 Jun 2006 16:09:33 GMT
On 6/7/06, Bogdan Taru <bogdan.taru@to.com> wrote:
>
>     Hello,
>
>  I would like to query the Apache Status informations (the ones provided
> by mod_status, for example) from an external program. Is there a way to
> do this without using the rather un-elegant way of accessing an
> URL/calling 'apachectl status' and parsing the output? For example, is
> there a certain API that I could use in order to query the status
> parameters?

No need to use apachectl.  You can directly access
http://yourserver.example.com/server-status?auto.  The "auto" part
asks for a more-easily-parsable output format.  Other than that, if
you want a "real API", you'd need to use the standard apache module
API.

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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message