NAME
isochron-daemon - Start an isochron program waiting for management commands
SYNOPSIS
isochron daemon [OPTIONS]
DESCRIPTION
This command starts a long-running process that listens for connections from an isochron orchestrator. The daemon can receive further instructions from the orchestrator.
OPTIONS
-h,--help-
prints the short help message and exits
-l,--log-file<PATH>-
after becoming a daemon, the program can redirect its standard output and standard error to the text file specified here. Optional, defaults to
/dev/null.
-p,--pid-file<PATH>-
after spawning a daemon process, the main program overwrites the text file provided here with a single line containing a decimal number representing the process ID of the daemon. Optional, defaults to no PID file being created.
-P,--stats-port<NUMBER>-
specify the TCP port on which the daemon program is listening for incoming connections. This socket is used for management and statistics. Optional, defaults to port 5000.
-S,--stats-address<NUMBER>-
specify the IP address on which the daemon program is listening for incoming connections. This socket is used for management and statistics. Supports binding to a given network device using the
address%devicesyntax (example:--stats-address ::%vrf0). Optional, defaults to ::, with a fallback to 0.0.0.0 if IPv6 is not available.
EXAMPLES
To start and then stop a daemon and view its log file:
-
isochron daemon \ --log-file isochron.log \ --pid-file isochron.pid \ --stats-port 5001 tail -F isochron.log & kill $(pidof tail) kill $(cat isochron.pid)
AUTHOR
isochron was written by Vladimir Oltean ⟨[email protected]⟩\c
SEE ALSO
COMMENTS
This man page was written using pandoc ⟨http://pandoc.org/⟩\c by the same author.