Process:getProcess
Method
Purpose
This method (on Mac OS X) returns a process table filtered by the Process Name
argument.
Remarks
The argument is treated as a pattern to match. If no argument string is given, all processes are returned.
Type
Synchronous, IMPACT_INFO.
Arguments
Name |
Type |
Description |
Process Name |
String |
Process name. Empty argument returns information for all processes. |
Returns
Name |
Type |
Description |
Process Name |
String |
Name of the process being executed |
ID Process |
Integer |
Process ID of 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 |
State |
String |
Process status |
Virtual KBytes |
Integer |
The size of virtual address space, in kilobytes |
Real KBytes |
Integer |
The size of the real address space, in kilobytes |
Threads |
Integer |
The number of threads in the process |
CPU Time |
Double |
CPU usage: the user time plus system time, in milliseconds. |
% CPU |
Double |
Percent of CPU used |
% Memory |
Double |
Percent of memory used |
Page Faults |
Integer |
The number of page faults |
COW faults |
Integer |
The number of copy-on-write faults |
Pageins |
Integer |
The number of actual pageins |
System Calls |
Long |
The number of system calls made |
Command |
String |
Command line used to start process |
Start Time |
Integer |
The number of seconds since the process started |