I have an ASP.NET app hosted in IIS, and I have automatic worker process recycling/shutdown disabled. I'd like to have a rough idea of how long the app has been running continuously without being re-loaded.
My thinking is that one source from which this can be gleaned is information about when the worker process was last recycled, perhaps in IIS logs or performance counters. Or alternatively, from information about when the AppDomain itself was created, perhaps in performance counters. Either way, I can't find any such information. Short of changing the code, is it possible to determine this for an already-deployed app?
Perhaps 3rd party tools that monitor processes? Or information from IIS in the event log?
Originally posted on SO: http://stackoverflow.com/questions/1835469/lifetime-of-worker-process-or-appdomain