Pipeline command syntax
The pipeline command enables you to start, stop, and debug pipelines using one or more command options or parameters. Command line options that you specify as part of the pipeline command override any corresponding parameters that are specified in the pipeline configuration file.
The pipeline executable can be found in the bin/ directory.
The syntax for the pipeline command is:
pipeline -parameter modifiers
Pipeline parameters and modifiers
You can use these parameters together or separately.
- -atransport URI syntax for the application monitor
- Specifies the transport to open for the application monitor.
- -cpipeline configuration filename
- Specifies the pipeline configuration file that you want to use with the pipeline that you are starting. If the pipeline configuration file is not located in the same directory from which you are starting the pipeline, you can specify the path by typing the full path and filename.
- -d
- Specifies that you want to run this pipeline in debug mode in the foreground.
- -e
- Stops the specified pipeline running as a UNIX daemon or a Windows service (running in the
background). If there are multiple pipelines running on the pipeline node, you must use the
-n option to specify the name of the pipeline that you want to stop.Note: If the pipeline that you want to stop is running in debug mode, you can also stop the pipeline by pressing Ctrl + C in the command window.
- -fdata file name
- Loads data from the specified file into the pipeline.
- -i
- (Windows platforms only) Installs a pipeline as a Windows service. Once the pipeline has been installed as the Windows service, you can use the -s option to run the pipeline as a Windows service.
- -l
- Lists the status of all pipelines on the pipeline node or of the status of pipeline specified by name using the -n option.
- -l
- Lists the status of all pipelines on the pipeline node or of the status of pipeline specified by name using the -n option.
- -mmpipeline name
- The Unique Number Matching percentage parameter can be set from 1 to 100. The higher the number, the more precisely an incoming Unique-number has to match in order to generate a Unique-Number-Match.
- -s
- Runs the pipeline as a daemon or a Windows service (if the pipeline has been installed as a Windows service using the -i option) in background mode. You must start a pipeline using either the -s option (service/daemon mode) or the -d option (debug mode).
- -ttransport URI syntax
- Specifies the Uniform Resource Identifier (URI) of the transport where the pipeline receives incoming data. You can specify more than one transport by typing multiple -t transport URIs on the same command line.
- -u
- (Windows platforms only) Uninstalls the pipeline as a Windows service.
Example pipeline commands
The following pipeline command creates a new pipeline running on a Windows platform, installs the pipeline as a Windows service, starts the Windows service, names the new pipeline pipeline08, and starts the pipeline:pipeline -n pipeline08 -s
The
following pipeline command enables the pipeline named pipe12 to
receive data from an HTTP server, a queue named queue22,
and a file named data.umf
:
pipeline -n pipe12 -t http://server50:8888 -t mq:/queue22 -t file:/data.umf
The
following pipeline command starts pipeline1 and uses the
pipeline configuration file named unixpipeline.ini
:
pipeline -c unixpipelinel.ini -n pipeline1