Forum Discussion

han's avatar
han
Contributor
15 years ago

Check if application has stopped responding

Hello,



How can I check if an application has stopped responding?

Tried using WMI but the status isn't implemeted?!




sub status

    Set objWMIService = GetObject("winmgmts:\\.\root\CIMV2")

    Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_Process" & " WHERE Name = 'Testedapp.exe'") 

    For Each objItem in colItems

        Log.Message(objItem.Status)

    Next

end
sub



2 Replies

  • Hi Hakan,




    I suggest that you refer to the "Diagnosing Application Freezes" help topic to learn how to diagnose an application freeze.

  • han's avatar
    han
    Contributor
    Just a clarification this is a new feature in 7.50

    (time to upgrade for me)