how to check if a service is running in windows code example Example: check if service is running server systemctl is-active --quiet service