IBM Tivoli Netcool/OMNIbus Version 8.1

Manually starting process agents

You can manually start process agents from the command line.

About this task

To manually start a process agent, enter the following command on the command line of the host:

$NCHOME/omnibus/bin/nco_pad -name process_agent

In this command, process_agent is the name of the process agent, as defined in the omni.dat file (UNIX) or sql.ini file (Windows). You can specify additional command-line options with this command.

The process agent daemon (nco_pad) runs relative to the $NCHOME/omnibus location.

For UNIX operating system The process agent daemon (nco_pad) follows UNIX-style quoting rules when deciding whether to expand environment variables inside arguments for external actions. The rules are as follows, in order of precedence:
  • Double quotes (" ") inside a substring delimited by single quotes have no effect.
  • Single quotes (' ') inside a substring delimited by double quotes have no effect.
  • Environment variables inside single quotes are not be expanded.
See the section "Example" for more information.
Note: A new instance of the process agent cannot manage processes that were started by another instance, and which are still running. When the process agent is stopped and restarted, it has no knowledge of such processes, and therefore starts new instances of them. The previous instances are left running.
Note: If you run the nco_pad command on a computer that already contains a process agent that is installed as a Windows service, any commands that are specified for the Windows service are merged with command-line options for running nco_pad from the command prompt. If there is a conflict between the options that are specified for the service, and the options that you enter at the command prompt, the options that you enter at the command prompt take precedence. The screen output displays the merged options.

Example

For UNIX operating system In the following example, only $B is expanded, because $B is outside of a pair of single quotes:

'$A'$B'$C'

The following example shows how you can avoid expansion but still output quotes. To obtain single quotes in the output, you must escape the string inside double quotes, as follows:

"'"'$A'"'"'$B'"'"'$C'"'"

This string produces the following output:

'$A'$B'$C'

To obtain the output '$A'$B'$C' with no expansion, it is not sufficient to place the string in double quotes because, according to the UNIX quoting rules, the string would be expanded. For no expansion to take place the whole string must be inside single quotes.


Library | Support |