api.rst 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. XML-RPC API Documentation
  2. =========================
  3. .. automodule:: supervisor.rpcinterface
  4. Status and Control
  5. ------------------
  6. .. autoclass:: SupervisorNamespaceRPCInterface
  7. .. automethod:: getAPIVersion
  8. .. automethod:: getSupervisorVersion
  9. .. automethod:: getIdentification
  10. .. automethod:: getState
  11. .. automethod:: getPID
  12. .. automethod:: readLog
  13. .. automethod:: clearLog
  14. .. automethod:: shutdown
  15. .. automethod:: restart
  16. Process Control
  17. ---------------
  18. .. autoclass:: SupervisorNamespaceRPCInterface
  19. .. automethod:: getProcessInfo
  20. .. automethod:: getAllProcessInfo
  21. .. automethod:: startProcess
  22. .. automethod:: startAllProcesses
  23. .. automethod:: startProcessGroup
  24. .. automethod:: stopProcessGroup
  25. .. automethod:: sendProcessStdin
  26. .. automethod:: sendRemoteCommEvent
  27. .. automethod:: addProcessGroup
  28. .. automethod:: removeProcessGroup
  29. Process Logging
  30. ---------------
  31. .. autoclass:: SupervisorNamespaceRPCInterface
  32. .. automethod:: readProcessStdoutLog
  33. .. automethod:: readProcessStderrLog
  34. .. automethod:: tailProcessStdoutLog
  35. .. automethod:: tailProcessStderrLog
  36. .. automethod:: clearProcessLogs
  37. .. automethod:: clearAllProcessLogs
  38. .. automodule:: supervisor.xmlrpc
  39. System Methods
  40. --------------
  41. .. autoclass:: SystemNamespaceRPCInterface
  42. .. automethod:: listMethods
  43. .. automethod:: methodHelp
  44. .. automethod:: methodSignature
  45. .. automethod:: multicall