Process:getInstanceCount

Method

Purpose

This method (on Linux) returns an instance count for the process denoted by the Process Name argument.

Remarks

The argument is treated as a pattern to match. If no argument string is given, the count of all processes is returned.

Type

Synchronous, IMPACT_INFO.

Arguments

 

Name

Type

Description

Process Name

String

Process name. Empty string returns combined instance count for all processes.

Returns

 

Name

Type

Description

Process Name

String

Process name. Table is indexed on Process Name.

Process Count

Integer

Number of instances