SUPERVISORCTL(1)
β¨ SUPERVISORCTL(1) β the supervisorctl glow-up β¨
okay bestie, sit down, hydrate, and let me tell you about supervisorctl π this is the man page for the supervisorctl command, part of Supervisor, and it's genuinely one of the most useful little tools out there, no cap.
Supervisor is a client/server system that lets its users monitor and control a bunch of processes on UNIX-like operating systems. it's giving "I have a dozen little daemons and I refuse to lose track of them" energy.
It shares some of the same goals as programs like launchd, daemontools, and runit. but bestie, listen β unlike some of those, it is not meant to be run as a substitute for init as "process id 1". do not do that. instead it's meant to be used to control processes related to a project or a customer, and it's meant to start like any other program at boot time. periodt. π
π DOCUMENTATION
π§© Supervisor Components
supervisorctlβ the command-line client piece of the supervisor is literally namedsupervisorctl. it provides a shell-like interface to the features provided bysupervisord. fromsupervisorctl, a user can connect to differentsupervisordprocesses, get status on the subprocesses controlled by, stop and start subprocesses of, and get lists of running processes of asupervisord.
The command-line client talks to the server across a UNIX domain socket or an internet (TCP) socket. the server can assert that the user of a client should present authentication credentials before it allows him to perform commands. the client process typically uses the same configuration file as the server, but any configuration file with a [supervisorctl] section in it will work. iconic. β¨
π Running Supervisor
This section makes reference to a BINDIR when explaining how to run the supervisord and supervisorctl commands. This is the "bindir" directory that your Python installation has been configured with. For example, for an installation of Python installed via ./configure --prefix=/usr/local/py; make; make install, BINDIR would be /usr/local/py/bin. Python interpreters on different platforms use a different BINDIR. Look at the output of setup.py install if you can't figure out where yours is. (iykyk π«Ά)
π supervisorctl Command-Line Options
-c,--configurationβ configuration file path (default/etc/supervisord.conf)-h,--helpβ print usage message and exit-i,--interactiveβ start an interactive shell after executing commands-s,--serverurl URLβ URL on whichsupervisordserver is listening (default"http://localhost:9001")-u,--usernameβ username to use for authentication with server-p,--passwordβ password to use for authentication with server-r,--history-fileβ keep a readline history (if readline is available)
action [arguments]
Actions are commands like "tail" or "stop". If -i is specified or no action is specified on the command line, a "shell" interpreting actions typed interactively is started. Use the action "help" to find out about available actions. π
πΈ Running supervisorctl
To start supervisorctl, run $BINDIR/supervisorctl. A shell will be presented that will allow you to control the processes that are currently managed by supervisord. Type "help" at the prompt to get information about the supported commands.
The supervisorctl executable may be invoked with "one time" commands when invoked with arguments from a command line. An example: supervisorctl stop all. If arguments are present on the command-line, it will prevent the interactive shell from being invoked. Instead, the command will be executed and supervisorctl will exit.
If supervisorctl is invoked in interactive mode against a supervisord that requires authentication, you will be asked for authentication credentials. (main character energy: it asks who you are before it lets you in π)
π¦ Glossary
daemontoolsβ a process control system by D.J. Bernstein.launchdβ a process control system used by Apple as process 1 under Mac OS X.runitβ a process control system.Superlanceβ a package which provides various event listener implementations that plug into Supervisor which can help monitor process memory usage and crash status:http://pypi.python.org/pypi/superlance.umaskβ abbreviation of user mask: sets the file mode creation mask of the current process. Seehttp://en.wikipedia.org/wiki/Umask.
π AUTHOR
This man page was created by Orestis Ioannou <orestis@oioannou.com> using the official documentation. slay.
π COPYRIGHT
2004-2015, Agendaless Consulting and Contributors
and that's the whole thing, bestie π this page is from Supervisor 3.2.0, dated December 10, 2015, and it's filed under SUPERVISORCTL(1). go forth, control your processes, stay iconic πβ¨π¦
π¦ where this page comes from
- debian bookworm: supervisor 4.2.5-1 Β· BSD-derived
- debian trixie: supervisor 4.2.5-3 Β· BSD-derived
- ubuntu jammy: supervisor 4.2.1-1ubuntu1 Β· BSD-derived
- ubuntu noble: supervisor 4.2.5-1 Β· BSD-derived
- ubuntu noble: supervisor 4.2.5-1ubuntu0.1 Β· BSD-derived
- ubuntu questing: supervisor 4.2.5-3
- ubuntu resolute: supervisor 4.3.0-1 Β· BSD-derived
- ubuntu stonking: supervisor 4.3.0-2 Β· BSD-derived
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms