Is there any API for getting APACHE WebServer startup time?

I am writing a small application to get various Apache Webserver diagnostic parameters such as server start time, working mode or presale mode , server version and more. I found several APIs to get information about these parameters. But I can't find an API to get the WebServer startup time. Does such an API exist? If there is no API, there are different approaches such as getting the start time using ps command on linux / unix and switching to a similar API on windows. Maybe there is another approach that I could see is APache WebServer time in any variable or file. Please enlighten me with your valuable comments, approaches.

TIA Anil

+1


a source to share


1 answer


Try to take a look at Apache ' mod_status



+3


a source







All Articles