Process:getProcess

Method

Purpose

This method (on Solaris-10) returns a process table filtered by the Process Name argument.

Remarks

The process name argument is a pattern match using regular expressions. 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

Process name. Empty argument string returns information for all processes.

Returns

 

Name

Type

Description

Process Name

String

Process name. Table is indexed on ID Process

ID Process

Integer

Process ID

Parent Process ID

Integer

Parent process ID of the current process

User Name

String

User name

Virtual KBytes

Integer

The size of virtual address space, in kilobytes

Stack KBytes

Integer

Stack size, in kilobytes

Heap KBytes

Integer

Heap size, in kilobytes

CPU Time

Integer

CPU usage (user plus system, in milliseconds)

% CPU

Integer

CPU usage in percent

% Memory

Integer

Memory usage in percent

Class

String

Scheduling class ID

Command

String

Full command line as given by UNIX ps -ef command. Truncated to 80 characters

Start Time

Integer