IResourceUsage::get_Processes method

Retrieves the list of processes being used by the job or task.

Syntax

HRESULT get_Processes(
  [out] IClusterEnumerable **pRetVal
);

Parameters

  • pRetVal [out]
    An IClusterEnumerable interface that contains a collection of strings that identify the processes being used by the job or task. To enumerate the list of processes, call the IClusterEnumerable::GetEnumerator method. The variant type is VT_BSTR. The bstrVal member of the variant contains the process identifiers.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Remarks

The string contains the name of the node on which the process is running, the process identifier for the cmd.exe executable, and the process identifier for the task that is running. For example, "nodeA, 8464 4288".

Use this method only when the status of the job or task is Running.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

IResourceUsage