views:

54

answers:

1

I am writing a small application to get the various diagnostic parameter of Apache Webserver like time of the start of the server, Worker mode or Prefork mode, server version and many more. I have found few API for getting info about these parameter. But I colud not find nay API for the getting start time of the WebServer. Is there any such kind of API? If there is no API then there are different approaches like getting the start time using "ps" command in linux/unix and go for similar API in windows.There can be other approach that I could see is to have the time of the APache WebServer in any Variable or file. Please enlighten me with your valuable comments, approaches.

TIA Anil

+3  A: 

Try to have a look at the Apache' the mod_status

Boris Guéry
Thanks bgy, this exactly what I am looking for. Cheers
anil
You are welcome.Don't forget to accept the answer if you think that answered to your question.
Boris Guéry