Process:getInstanceCount

Method

Purpose

This method (on Microsoft Windows) returns an instance count for a specified process. If the Instance field is empty, the total process count of the system is returned.

Remarks

Test any regular expressions you plan to use in rulebases by first using them interactively to insure they return the desired results.

Type

Synchronous, IMPACT_INFO.

Arguments

 

Name

Type

Description

Process Name

String

Name of process instance

Returns

 

Name

Type

Description

Process Name

String

Name of process instance. Table is indexed on Process Name

Process Count

Integer

Process count for specified process