Skip to content
Snippets Groups Projects
Select Git revision
  • branch/default default protected
1 result

supervisor-vms

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    jfp authored
    ab3f0447
    History
    Name Last commit Last update
    .clang-format
    .hgignore
    CHANGELOG
    LICENSE
    README.md
    supervisorctl.py
    supervisord.conf_template
    supervisord.py

    Supervisor-vms: A Process Control System for OpenVMS

    Supervisor-vms is a tools that allows to monitor and control a number of processes on OpenVMS systems.

    It was inspired by [supervisor]

    Many of configuration parameters are the same.

    Use process termination mailbox, and AST. No CPU usage if no event occurs.

    Requirements

    1. Python 3.10 (VSI version)
    2. ovms module

    Probably better to use the LD image which contains all the necessary modules.

    Components

    All logicals are defined in table SUPERVISORD_TABLE

    supervisord.py

    The server piece of supervisor is named supervisord. It is responsible for starting processes (programs) at its own invocation, responding to commands from clients, restarting crashed or exited processeses

    The server process uses a configuration file.

    supervisorctl.py

    The command-line client piece of the supervisor is named supervisorctl. It provides a shell-like interface to the features provided by supervisord. From supervisorctl, a user can connect to the supervisord process, get status on the processes controlled by, stop and start processes of, and get lists of running processes (programs).

    The command-line client talks to the server across a mailbox (SUPERVISORD_CMD logical)

    Running supervisord

    supervisord Command-Line Options

    -c FILE, --configuration=FILE

    The path to a supervisord configuration file. Unix syntax should be used

    -n, --nodaemon

    Run supervisord in the foreground.

    -p pwd, --password=pwd

    Optional password, used by supervisorctl.

    -h, --help

    Show supervisord command help.