Process:getProcess
Method
Purpose
This method (on AIX) returns a process table filtered by the Process Name
argument.
Remarks
Test any regular expressions you plan to use in rulebases by first using them interactively to insure they return the desired results.
If no arguments are given, the entire table is returned.
Type
Synchronous, IMPACT_INFO.
Arguments
Name |
Type |
Description |
Process Name |
String |
Process name. Pattern match with regular expressions. Empty argument string returns information for all processes. |
Returns
Name |
Type |
Description |
Process Name |
String |
Process name |
ID Process |
Integer |
The process ID of the process (this datum required in order to kill the process). Table is indexed on ID Process. |
Parent Process ID |
Integer |
Parent process ID of the current process |
User Name |
String |
Effective user name of the process |
Status |
String |
Status of process |
Virtual KBytes |
Integer |
The size of virtual address space (kilobytes) |
CPU Time |
Integer |
CPU usage (user time + system time, milliseconds) |
% CPU |
Integer |
The ratio of CPU time used to CPU time available computed for the lifetime of the process |
% Memory |
Integer |
The ratio of process’s resident set size to the physical memory on the machine |
Command |
String |
The actual command, along with its argument |