Skip to content

monitor

OM's main function.

This module contains the main function that tarts an OnDA Monitor.

main(*, source, node_pool_size, config)

OnDA Monitor. This script starts an OnDA Monitor whose behavior is defined by the configuration parameters read from a provided file. The monitor retrieves data events from the source specified by the SOURCE argument, and starts processing them. The exact format of SOURCE depends on the specific Data Extraction Layer used by the monitor (see the relevant documentation). When OM uses the mpi Parallelization Layer, this script should be launched via the mpirun or mpiexec commands.

om_monitor.py

OnDA Monitor. This script starts an OnDA Monitor whose behavior is defined by the configuration parameters read from a provided file. The monitor retrieves data events from the source specified by the SOURCE argument, and starts processing them. The exact format of SOURCE depends on the specific Data Extraction Layer used by the monitor (see the relevant documentation). When OM uses the mpi Parallelization Layer, this script should be launched via the mpirun or mpiexec commands.

Usage:

om_monitor.py [OPTIONS] SOURCE

Options:

  -c, --config PATH             The path to a configuration file (default:
                                monitor.yaml file in the current working
                                directory)
  -n, --node-pool-size INTEGER  The total number of nodes in the OM pool,
                                including all the processing nodes and the
                                collecting node.
  --help                        Show this message and exit.