Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 4 Microsoft Windows Microagents and Methods : COM.TIBCO.hawk.hma.Process : Process:getProcess

Process:getProcess
Method
 
Purpose
This method (on Microsoft Windows) returns information about a specified process.
Remarks
If the argument field is empty, data is returned for all processes running on the system.
Test any regular expressions you plan to use in rulebases. Use them interactively first, to ensure they return the desired results.
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. 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.
Type
Synchronous, IMPACT_INFO.
Arguments
 
Name of process instance. Empty argument returns information for all processes.
Returns
 
Total amount of time the process has spent in User Mode plus Kernel Mode (in milliseconds).

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved