Skip to main content

A CLI alternative to the built-in web interface of Supervisor, offering a more convenient way to manage processes directly from the terminal.

Project description

supervisor-shell-ui

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

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.
  • supervisor-shell-ui relies on supervisorctl under the hood. In order to run it from a non-root user, you will need to set appropriate permissions for the supervisor.sock file in the supervisor configuration.

License

This project is licensed under the terms of the GPL-3.0 license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

supervisor-shell-ui-0.2.7.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

supervisor_shell_ui-0.2.7-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

Details for the file supervisor-shell-ui-0.2.7.tar.gz.

File metadata

  • Download URL: supervisor-shell-ui-0.2.7.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for supervisor-shell-ui-0.2.7.tar.gz
Algorithm Hash digest
SHA256 7c5fdd51870f04f5e138dc1dd0d5f57b7643e03608a6f019ade5a5d715b117a0
MD5 5d41555528dc4f9f0e9025f1c3d235c4
BLAKE2b-256 9c523a080acf230c80e67d0a3e41a072b0be7d4935cc75f0a1127b2646dba2a3

See more details on using hashes here.

File details

Details for the file supervisor_shell_ui-0.2.7-py3-none-any.whl.

File metadata

File hashes

Hashes for supervisor_shell_ui-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f41a63827b4819cad0b1af19eb323e355a914add72ec698e80a0bacf13a94e70
MD5 0bcc07f42e66b7df9c6742ddb4421bc6
BLAKE2b-256 a19407efc7b9444c0777df76aa3f1829792536d569ca06f3be76cfc2f8fa1a58

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page