We use hosted server with Windows 2003 64-bit. We have lot applications that are scheduled and runs at certain frequency ..
But at times, for no? apparent? reason, any random process may hang until operator has to manually kill it using 'Process Explorer'
We need a small C# console application that will detect the hung processes and report it, please note the few specifications:
(a) The determination of hung status should be based variery of parameters such as?
? ? CPU usage
? ? Memory usage
? ? Elapsed time
? ? Private Byte occupied
? ? etc..
(b) The attributes such as how long the process is hung, etc.., should be reported along with any other relevant information. ? The reporting can be simply consolewriteline ..
Thanks
Paul