Skip to main content

Service command wrapper for Python.

Project description

Service command wrapper for Python.

Usage

Create object

obj = ControlDaemon(“service”) # Example “httpd” (Apache)

Start service

obj.start()

Stop service

obj.stop()

Restart service

obj.restart()

Memory

obj.get_memory_usage()

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page