Configuration - Run-Stages
This sub-directory contains files, each defining the programs to be run
for a given run stage. [The order of the run stages is listed in the
run config-file.] Each line contains to following
fields, whitespace separated:
-
NAME - This gives this line a name, which will be used for error-messages and
file-names. It's used instead of the program-name to enable multiple
instances of a given program, primarily the collectors.
-
ASYNC - If this flag is set (1, y, yes or true), then run-remstats2 will not
wait for it to complete before moving on the the next stage. This permits
long-running programs, on which nothing depends, to run through several
stages.
-
FREQUENCY - This is the minimum interval between runs.
run-remstats2
will not
run this line if it has been run within this time.
-
COMMAND - This is the command-line to run. It may be a pipeline. The command will be augmented by the addition of output redirection for stdout and stderr to
@@TMPDIR@@/NAME.PID
, where PID is the process-id of the instance of
run-remstats2
which is running it.