The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

XAS::Supervisor - A set of modules and procedures to supervise processes

DESCRIPTION

A supervisor is a process that manages other processes. On Unix this would be similar to init, which is the master process.

UTILITIES

These utilities are provided with this package.

xas-supervisor

This is the control process. It reads a configuration file to see what processes to start. Once they are started, the supervisor will make sure that they continue to run.

When a process exits, the supervisor checks the exit status. If that status is known, it will restart the process otherwise it will send alert that the process has stopped.

xas-supervisor --help

This will display a brief help screen on command options.

xas-supervisor --manual

This will display the utilities man page.

The configuration file is documented here: XAS::Apps::Supervisor::Monitor

xas-supctl

This is a command line tool to communicate with the supervisor. With this tool you can stop, start, pause, resume or kill a managed process. You can also retrieve all of the processes that the supervisor knows about and you can check the status of individual processes.

xas-supctl --help

This will display a brief help screen on command options.

xas-supctl --manual

This will display the utilities man page.

SEE ALSO

XAS::Apps::Supervisor::Client
XAS::Apps::Supervisor::Monitor
XAS::Docs::Supervisor::Installation
XAS::Supervisor::Client
XAS::Supervisor::Controller
XAS::Supervisor::Monitor
XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

LICENSE AND COPYRIGHT

Copyright (c) 2012-2015 Kevin L. Esteb

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.