Detect Hung/Dead process
-
Hello, I use System.Diagnostics.Process class to launch execuatbles. These executables are console applications and do not have user interface. I need to know if the processes I launched are busy doing some work or dead/stuck. I am not sure how to check that. Any input on this would be appreciated. Thanks, Vidhya
V
-
Hello, I use System.Diagnostics.Process class to launch execuatbles. These executables are console applications and do not have user interface. I need to know if the processes I launched are busy doing some work or dead/stuck. I am not sure how to check that. Any input on this would be appreciated. Thanks, Vidhya
V
How to test/monitor an application should be part of your design. When writing an application, consider using one of the following approaches: 1) Make your process write some status to a Console window 2) Make your process log some data to a logging DB 3) Add a little IPC interface to your program. Write a test harness to communicate with it. 4) Etc. End-user tools like Task Manager/System Monitor are not accurate enough at this.
Best, Jun
-
How to test/monitor an application should be part of your design. When writing an application, consider using one of the following approaches: 1) Make your process write some status to a Console window 2) Make your process log some data to a logging DB 3) Add a little IPC interface to your program. Write a test harness to communicate with it. 4) Etc. End-user tools like Task Manager/System Monitor are not accurate enough at this.
Best, Jun
Thanks!
V