Version 3.0a4
Copyright © 2006-2008 Agendaless Consulting and Contributors
2008-03-12
Table of Contents
- 1. Using Supervisor
- 1.1. Introduction
- 1.2. Installing
- 1.3. Running Supervisor
- 1.4. Configuration File Syntax and Semantics
- 1.4.1.
[unix_http_server]Section Settings - 1.4.2.
[inet_http_server]Section Settings - 1.4.3.
[supervisord]Section Settings - 1.4.4.
[supervisorctl]Section Settings - 1.4.5.
[program:x]Section Settings - 1.4.6.
[include]Section Settings - 1.4.7.
[group:x]Section Settings - 1.4.8.
[eventlister:x]Section Settings - 1.4.9.
[rpcinterface:x]Section Settings
- 1.4.1.
- 1.5. Subprocesses
- 1.6. Logging
- 1.7. Events
- 1.8. Extending Supervisor's XML-RPC API
- 1.9. memmon Memory Monitor Event Listener
- 1.10. Upgrading From Older Releases
- 1.11. Frequently Asked Questions
- 1.12. Development of Supervisor
- 2. XML-RPC API Reference
- Index
List of Figures
List of Tables
- 1.1. supervisord Command-Line Options
- 1.2. Signal Handlers
- 1.3.
[unix_http_server]Section Values - 1.4.
[inet_http_server]Section Values - 1.5.
[supervisord]Section Values - 1.6.
[supervisorctl]Section Values - 1.7.
[program:x]Section Values - 1.8.
[include]Section Values - 1.9.
[group:x]Section Values - 1.10.
[rpcinterface:x]Section Values - 1.11. Process States
- 1.12. Activity Log Levels
- 1.13. Header Tokens
- 1.14. Event Listener States
- 1.15.
EVENTEvent Type - 1.16.
PROCESS_STATEEvent Type - 1.17.
PROCESS_STATE_STARTINGEvent Type - 1.18.
PROCESS_STATE_RUNNINGEvent Type - 1.19.
PROCESS_STATE_BACKOFFEvent Type - 1.20.
PROCESS_STATE_STOPPINGEvent Type - 1.21.
PROCESS_STATE_EXITEDEvent Type - 1.22.
PROCESS_STATE_STOPPEDEvent Type - 1.23.
PROCESS_STATE_FATALEvent Type - 1.24.
PROCESS_STATE_UNKNOWNEvent Type - 1.25.
PROCESS_COMMUNICATIONEvent Type - 1.26.
PROCESS_COMMUNICATION_STDOUTEvent Type - 1.27.
PROCESS_COMMUNICATION_STDERREvent Type - 1.28.
SUPERVISOR_STATE_CHANGEEvent Type - 1.29.
SUPERVISOR_STATE_CHANGE_RUNNINGEvent Type - 1.30.
SUPERVISOR_STATE_CHANGE_STOPPINGEvent Type - 1.31.
TICKEvent Type - 1.32.
TICK_5Event Type - 1.33.
TICK_60Event Type - 1.34.
TICK_3600Event Type - 1.35. memmon Command-Line Options
- 1.36.
- 2.1. supervisor.getAPIVersion() Parameters
- 2.2. supervisor.getAPIVersion() Return Value
- 2.3. supervisor.getSupervisorVersion() Parameters
- 2.4. supervisor.getSupervisorVersion() Return Value
- 2.5. supervisor.getIdentification() Parameters
- 2.6. supervisor.getIdentification() Return Value
- 2.7. supervisor.getState() Parameters
- 2.8. supervisor.getState() Return Value
- 2.9. supervisor.getState() State Codes
- 2.10. supervisor.readLog() Parameters
- 2.11. supervisor.readLog() Return Value
- 2.12. supervisor.readLog() Offset and Length
- 2.13. supervisor.clearLog() Parameters
- 2.14. supervisor.clearLog() Return Value
- 2.15. supervisor.shutdown() Parameters
- 2.16. supervisor.shutdown() Return Value
- 2.17. supervisor.restart() Parameters
- 2.18. supervisor.restart() Return Value
- 2.19. supervisor.getProcessInfo() Parameters
- 2.20. supervisor.getProcessInfo() Return Value
- 2.21. supervisor.getAllProcessInfo() Parameters
- 2.22. supervisor.getAllProcessInfo() Return Value
- 2.23. supervisor.startProcess() Parameters
- 2.24. supervisor.startProcess() Return Value
- 2.25. supervisor.stopProcessGroup() Parameters
- 2.26. supervisor.stopProcessGroup() Return Value
- 2.27. supervisor.stopProcess() Parameters
- 2.28. supervisor.stopProcess() Return Value
- 2.29. supervisor.stopAllProcesses() Parameters
- 2.30. supervisor.stopAllProcesses() Return Value
- 2.31. supervisor.sendProcessStdin() Parameters
- 2.32. supervisor.sendProcessStdin() Return Value
- 2.33. supervisor.readProcessStdoutLog() Parameters
- 2.34. supervisor.readProcessStdoutLog() Return Value
- 2.35. supervisor.readProcessLog() Offset and Length
- 2.36. supervisor.clearProcessLogs() Parameters
- 2.37. supervisor.clearProcessLogs() Return Value
- 2.38. supervisor.clearAllProcessLogs() Parameters
- 2.39. supervisor.clearProcessLogs() Return Value
- 2.40. Supervisor Fault Codes
List of Examples
- 1.1.
[unix_http_server]Section Example - 1.2.
[inet_http_server]Section Example - 1.3.
[supervisord]Section Example - 1.4.
[supervisorctl]Section Example - 1.5.
[program:x]Section Example - 1.6.
[include]Section Example - 1.7.
[group:x]Section Example - 1.8.
[eventlistener:x]Section Example - 1.9.
[rpcinterface:x]Section Example - 1.10. Sample Activity Log Output
- 1.11. memmon Example Configuration 1
- 1.12. memmon Example Configuration 2
- 1.13. memmon Example Configuration 3
