hcienginerun
This command starts the engine, runs the monitor, and cleans up.
hcienginerun -p process[,process...] [-h host]
[-s thread[,thread...]] [-o thread[,thread...]]
[-x-x thread[,thread...]] [-n] -- allElse
-p process
is the name of the process to start.-h host
is the name of the remote host on which to run the engine.-s thread
is a comma-separated list of threads to start. The use of this flag over-rides the auto-start setting for the named threads and starts them upon process startup.-
-o thread
is a comma-separated list of threads to start with OB hold. The use of this flag over-rides the auto-start setting for the named threads and starts them with OB hold. -x thread
is a comma-separated list of threads to start with OB hold sticky. The use of this flag over-rides the auto-start and -o setting for the named threads, and starts them with OB hold sticky.-n
specifies to not run the engine in a service on NT.--
separates script args from engine args.allElse
specifies all other arguments are passed to the engine.
Note: All flags directed at this
script must precede arguments directed to the engine. This permits the script to
remain ignorant of all the options that the engine supports.
Starting the engine without starting threads
Even if the threads are set to automatically run, you can configure hcienginerun to start the engine but not any threads. The threads can be started at any later time.
To do this, add the "-0" (minus zero) parameter after "--" (minus minus) on the command line. The result is as if none of the threads in the process are set to auto-start.
This feature works only when hcienginerun is used to start the engine. All flags directed at this script must precede arguments aimed at the engine. This permits this script to remain ignorant of all the options that the engine supports.