Get Process Information Action

Description

Creates and populates a dataset with information about the specified Windows process. This information includes Process Name, ID, system resource usage by the process, etc.

Declaration

<AMGETPROCESSINFO PROCESSNAME="text" PROCESSID="number" RESULTDATASET="text [dataset name]" />

Example

<AMGETPROCESSINFO PROCESSNAME="AMEM" RESULTDATASET="ProcessInfo" />

<AMGETPROCESSINFO PROCESSID="23432" RESULTDATASET="ProcessInfo" />

General Tab Parameters

Process Name or Process ID: Specifies the name of the process. You can also select it from the list.

Text, Optional
MARKUP: PROCESSNAME="AMEM"

 

Number, Optional
MARKUP: PROCESSID="23432"

Create and populate dataset with process information: Below are definitions of the dataset columns populated when you run the action.

  • ProcessName--Gets the name of the process.

  • ProcessID--Gets the unique identifier for the associated process.

  • Handle--Returns the associated process's native handle.

  • MainWindowHandle--Gets the window handle of the main window of the associated process.

  • MainWindowTitle--Gets the caption of the main window of the process.

  • Responding--Gets a value indicating whether the user interface of the process is responding.

  • StartTime--Gets the time that the associated process was started.

  • WorkingSet64--Gets the amount of physical memory allocated for the associated process.

  • SessionId--Gets the Terminal Services session identifier for the associated process.

  • BasePriority--Gets the base priority of the associated process.

  • VirtualMemorySize64--Gets the amount of the virtual memory allocated for the associated process.

  • PeakWorkingSet64 :Gets the maximum amount of physical memory used by the associated process.

  • HandleCount :Gets the number of handles opened by the process.

  • ThreadCount :Gets the no of threads that are running in the associated process.

  • TotalProcessorTime :Gets the total processor time for this process.

  • UserProcessorTime :Gets the user processor time for this process.

  • Arguments : Gets the set of command line arguments to use when starting the application.

  • FileName : Gets the application or document to start.

  • Username :Gets the user name to be used when starting the process.

  • WorkingDirectory: Gets the initial directory for the process to be started.

Text [Dataset Name], Required
MARKUP: RESULTDATASET="ProcessInfo"

See Also

Get Volume Information Action, Print, Log Event Action, Run Action