supervisor-shell-ui
supervisor-shell-ui is a command-line interface (CLI) for managing processes using the Supervisor program. Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems. This tool provides an alternative to the built-in web interface of Supervisor, offering a more convenient way to manage processes directly from the terminal.
Table of Contents
Features
- View and manage processes controlled by Supervisor.
- Start, stop, and restart processes.
- View and clear process logs.
- Navigate and interact with the interface using keyboard shortcuts.
Prerequisites
- Python 3.6 or higher.
- Supervisor program installed on your system.
Installation
Install from PyPI
pip install supervisor-shell-ui
Install from GitHub
You have two ways to install from GitHub.
First option: clone the repository
git clone https://github.com/psyb0t/supervisor-shell-ui.git
cd supervisor-shell-ui
pip install .
Second option: use pip to install directly from GitHub
pip install git+https://github.com/psyb0t/supervisor-shell-ui.git#egg=supervisor-shell-ui
Both ways will achieve the same result, installing the supervisor-shell-ui package on your system. Choose the one that suits you best.
Install from .tar.gz
First, download the .tar.gz file from the GitHub releases page. Then extract it and navigate to the extracted directory:
tar -xvzf supervisor-shell-ui.tar.gz
cd supervisor-shell-ui
Install using pip:
pip install .
Alternatively, you can also use the setup.py file:
python setup.py install
Usage
After installing, you can run the application with the following command:
supervisor-shell-ui
Environment variables
- SUPERVISOR_SOCK_PATH: Defines the location of the supervisor sock file. Default is
/tmp/supervisor.sock. If you're not sure where the sock file is try looking in thesupervisord.confusually located at/etc/supervisor/supervisord.conf.
Keybindings
- Esc: Exit Page
- Tab: Switch Section
- Enter: Execute
- Page Up/Down: Scroll Table
- Left/Right Arrow: Change Button
- Up/Down Arrow: Change Process
Important Notes
- This application is intended for use on UNIX-like operating systems.
- The application requires that the Supervisor program is already installed and properly configured on your system.
License
This project is licensed under the terms of the GPL-3.0 license.
Metadata
Release files for supervisor-shell-ui 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| supervisor-shell-ui-0.3.0.tar.gz | 22.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| supervisor_shell_ui-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.3 kB
Release files / supervisor-shell-ui-0.3.0.tar.gz
| Download URL | supervisor-shell-ui-0.3.0.tar.gz |
|---|---|
| Size | 22.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bfec2f8a682025027b0b1556c873c1da42212356694aac4ccef66b8ece22b19d
|
|
BLAKE2b-256 checksum How to use checksums |
c6e911246c9a55d7eae42866cb11618596db75b49c44ea91203769880cee6077
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / supervisor_shell_ui-0.3.0-py3-none-any.whl
| Download URL | supervisor_shell_ui-0.3.0-py3-none-any.whl |
|---|---|
| Size | 29.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13f508d9578e9c3997e398391702daa07b373c56152d32effad06363d617a7f6
|
|
BLAKE2b-256 checksum How to use checksums |
f4e6b77faf4f49d0ac32c3d4facf0201f06dd5408d44436cc9748736254b66f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|