index.rst 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. Supervisor: A Process Control System
  2. ====================================
  3. Overview
  4. --------
  5. ``supervisor`` is a client/server system that allows its users to
  6. monitor and control a number of processes on UNIX-like operating
  7. systems.
  8. It shares some of the same goals of programs like :term:`launchd`,
  9. :term:`daemontools`, and :term:`runit`. Unlike some of these programs,
  10. it is not meant to be run as a substitute for ``init`` as "process id
  11. 1". Instead it is meant to be used to control processes related to a
  12. project or a customer, and is meant to start like any other program at
  13. boot time.
  14. Features
  15. --------
  16. Simple
  17. Supervisor is configured through a simple INI-style config file
  18. that’s easy to learn. It provides many per-process options that make
  19. your life easier like restarting failed processes and automatic log
  20. rotation.
  21. Centralized
  22. Supervisor provides you with one place to start, stop, and monitor
  23. your processes. Processes can be controlled individually or in
  24. groups. You can configure Supervisor to provide a local or remote
  25. command line and web interface.
  26. Efficient
  27. Supervisor starts its subprocesses via fork/exec and subprocesses
  28. don’t daemonize. The operating system signals Supervisor immediately
  29. when a process terminates, unlike some solutions that rely on
  30. troublesome PID files and periodic polling to restart failed
  31. processes.
  32. Extensible
  33. Supervisor has a simple event notification protocol that programs
  34. written in any language can use to monitor it, and an XML-RPC
  35. interface for control. It is also built with extension points that
  36. can be leveraged by Python developers.
  37. Compatible
  38. Supervisor works on just about everything except for Windows. It is
  39. tested and supported on Linux, Mac OS X, Solaris, and FreeBSD. It is
  40. written entirely in Python, so installation does not require a C
  41. compiler.
  42. Proven
  43. While Supervisor is very actively developed today, it is not new
  44. software. Supervisor has been around for years and is already in use
  45. on many servers.
  46. Narrative Documentation
  47. -----------------------
  48. .. toctree::
  49. :maxdepth: 2
  50. introduction.rst
  51. installing.rst
  52. running.rst
  53. API Documentation
  54. -----------------
  55. .. toctree::
  56. :maxdepth: 2
  57. api.rst
  58. Indices and tables
  59. ------------------
  60. * :ref:`genindex`
  61. * :ref:`modindex`
  62. * :ref:`search`