Performance:Process

Method

Purpose

This method (on Microsoft Windows) returns information on a process (a program or group of threads).

Remarks

The methods Performance:Process and Process:getProcess can seem similar, but return different data. Performance:Process returns all Instances of Process Object from the Performance Data Helper (PDH) library.

Invoking Performance:process without any arguments retrieves all Process instances in effect at that point in time. In contrast, invoking Process:getProcess without any arguments returns all currently running processes from the PSAPI.lib. This method only lists processes that have the right to access this library. Do not confuse these methods.

For a full description of this method and accompanying help text, refer to the help text provided by method invocation.

Type

Asynchronous, IMPACT_INFO.

Arguments

 

Name

Type

Description

Process

String

The exact process name or a regular expression using the Perl5PatternMatch syntax.

Empty argument string returns all processes.

TimeInterval

Integer

Time interval in seconds after which data will be returned

Returns

 

Name

Type

Instance

String. Table is indexed on the Instance field.

% Processor Time

Double

% User Time

Double

% Privileged Time

Double

Virtual Bytes Peak

Double

Virtual Bytes

Double

Page Faults/sec

Double

Working Set Peak

Double

Page File Bytes Peak

Double

Page File Bytes

Double

Private Bytes

Double

Thread Count

Double

Priority Base

Double

Elapsed Time

Double

ID Process

Double

Pool Paged Bytes

Double

Pool Nonpaged Bytes

Double

Handle Count

Double