I'm writing a little application to obtain the various diagnostic parameter of Apache Webserver like duration of the beginning of the server, Worker mode or Prefork mode, server version and much more. I've discovered couple of API to get information on these parameter. However I colud not find nay API for that getting start duration of the WebServer. Can there be such type of API? If there's no API then you will find different approaches like obtaining the start time using "ps" command in linux/unix and choose similar API in home windows.There might be other approach that I saw is to achieve the duration of the APache WebServer in almost any Variable or file. Please enlighten me together with your valuable comments, approaches.

TIA Anil

Attempt to take a look in the Apache' the mod_status