T
tshad
What would be a good way to check programmatically whether a service was
running?
We have a service that dies periodically and I need to check to see if this
service is running. I know how to check to see if the status is in stopped
or running mode. But that doesn't tell me if it is actually running.
I need to know this so that if it happens I can programmatically start the
same service on another machine.
What I would like to do is build a service that just periodically checks
(about once a minute) to see if the other service is actually running.
Thanks,
Tom
running?
We have a service that dies periodically and I need to check to see if this
service is running. I know how to check to see if the status is in stopped
or running mode. But that doesn't tell me if it is actually running.
I need to know this so that if it happens I can programmatically start the
same service on another machine.
What I would like to do is build a service that just periodically checks
(about once a minute) to see if the other service is actually running.
Thanks,
Tom