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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page