Answer the question
In order to leave comments, you need to log in
How to check process status via CMD?
It is necessary to check the process for a status - "not responding". How to check it?
I have a script that checks if the process is running, if so, it considers that the script is running, but when the program freezes and a window appears f1comp.ru/wp-content/uploads/2012/11/Image-317.jpg (example) then it still hangs in the processes and the script thinks that the program is running.
It is necessary:
1) In case of a hangup, immediately shutdown the program (then the script will see and restart), and not display a window with the end of the process.
OR
2) How to check if the process is responding.
Answer the question
In order to leave comments, you need to log in
For a process to respond somehow, it must be programmed to respond. Support any impact on it (keystrokes, the existence of an API on some protocol, and so on).
If you're trying to test a process that doesn't have anything like that, it won't work.
If the process is performing some tasks, you can check the execution of the tasks - if they stop executing, it's time to restart.
You can simply overload the process on schedule. But at the same time, so that the interruption does not break the work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question