Is there a way, through scripting or otherwise to monitor which services are running in Windows? I’m writing a Python script that will be run in each client as a service and I’d like to be able to determine whether the service is running.
What is your service doing? Can you make it listen on localhost only for an HTTP GET request that just responds “OK” if it’s alive?
That actually sounds like a great solution (sometime the simplest solutions are staring us right in the face and we can’t see them). The Python script I’m creating is running bottle framework to provide information, as web service, from a device where we have some ctype/dll calls. It wouldn’t be too much to add another GET request definition to check it is still responding.
1 Like