HP Operations Manager

opcntprocs

This program is used in a measurement threshold policy to check if a particular process is running on a managed node. The policy must use the source type Program, and run opcntprocs with the following parameters:

opcntprocs <policy name> <process name>

For example, to receive a message when the process RPCSS is not running, create a policy with the name myPolicyName, set the source type to Program, and type the following in the Program name text box:

opcntprocs myPolicyName RPCSS

Set the threshold of the policy so that a message is sent if the value returned is less than one (1). Usage example: -v verbose messages -l output sent to c:\temp\opcntprocs_.log -t trace details about API calls to logfile -h print usage information