xas-supctl - the control program for XAS Supervisor
xas-supctl [--help] [--debug] [--manual] [--version]
options: --start start a process --stop stop a process --kill kills a process --pause pause a process --resume resume a process --status returns the status of a process --list list processes --help outputs simple help text --manual outputs the procedures manual --version outputs the apps version --debug toogles debugging output --alerts toogles alert notifications --log-file name of the log file --log-type toggles the log type --log-facility changes the log facility
This procedure is used to communicate with the XAS Supervisor. It allows you to start/stop/pause/resume and list the know processes with the supervisor.
Starts the named process.
Stops the named process.
Kills the named process.
Pauses the named process.
Resumes the named process.
Returns the status of the named process.
Lists all of the known processes on the supervisor.
Displays a simple help message.
Turns on debbuging.
Togggles alert notification.
Toggles the log type. Defaults to 'console'. Can be 'console', 'file', 'json' or 'syslog'.
Toggles the log facilty. Defaults to 'local6'. This follows syslog convention.
Optional logfile. When specified the log type is set to 'file'.
The complete documentation.
Prints out the apps version
0 - success 1 - failure
Kevin L. Esteb, <kevin@kesteb.us>
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.
To install XAS::Supervisor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XAS::Supervisor
CPAN shell
perl -MCPAN -e shell install XAS::Supervisor
For more information on module installation, please visit the detailed CPAN module installation guide.