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