Skip to main content

Easier Management of individual supervisord processes

Project description

Maintainer: k dot shenk at gmail dot com

supermgr is merely an alternate means of managing supervisord processes. supervisorctl felt a bit clunky for me while working with process groups and individual processes for a certain project. This tool connects directly to supervisor via its XML-RPC (<http://supervisord.readthedocs.io/en/latest/api.html>) interface.

Installation

Via PIP: pip install supermgr

Usage

  • help, -h, –help: List available actions

  • list-actions: List available actions

  • list [process]: Print a list of all known process groups and the status of each process

  • full-list [process]: Same as ‘list’, but also print all the information we have on each process

  • status [process]: Same as ‘list’

  • full-status [process]: Same as ‘full-list’

  • start <process> [all, nothing, or numbers of processes separated by commas]: Start a process by number, the next process not started, or all of them

  • stop <process> [all, nothing, or numbers of processes separated by commas]: Stop a process by number, the next process not stopped, or all of them

  • save: Save the current state of each process group and number

  • reload: Reload the state of each group and process from a saved state

  • monitor-running: Check for any processes not running

When starting or stopping processes, if nothing is provided as a process number the next process number in the group’s sequence not found in the desired state will be acted upon.

Contributing

Suggestions and contributions are welcome. Please fork me and create PRs back to the develop branch.

Disclaimer

I’m new to creating python packages. This seemed like a good place to start learning, being a relatively small project to bite off.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

supermgr-0.4.tar.gz (5.9 kB view hashes)

Uploaded Source

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