1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 09:55:24 +02:00
tldr/pages/common/supervisorctl.md
Managor d1fa35edf6
common/*: reduce usage of "command-line" (part 2) (#16950)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2025-06-29 11:47:23 +03:00

901 B

supervisorctl

Supervisor, a client/server system that allows its users to control a number of processes on UNIX-like operating systems. Supervisorctl is the command-line client piece of the supervisor which provides a shell-like interface. More information: http://supervisord.org.

  • Show the status of a process (or all processes if process_name is not specified):

supervisorctl status {{process_name}}

  • Start/stop/restart a process:

supervisorctl {{start|stop|restart}} {{process_name}}

  • Start/stop/restart all processes in a group:

supervisorctl {{start|stop|restart}} {{group_name}}:*

  • Show last 100 bytes of process stderr:

supervisorctl tail -100 {{process_name}} stderr

  • Keep displaying stdout of a process:

supervisorctl tail -f {{process_name}} stdout

  • Reload process configuration file to add/remove processes as necessary:

supervisorctl update