2.2.5.23 ProcessList Element

The ProcessList XML element specifies a list of processes and their properties and is used in the GetProcessList (Opnum 16) (section 3.2.4.7.10) method to return processes matched by the PMCs of a resource allocation policy (RAP). It is the root element of XML documents that are used in WSRM method parameters.

 <xs:element name="ProcessList">
   <xs:complexType name="ProcessList">
     <xs:sequence>
       <xs:element name="Process"
         minOccurs="0"
         maxOccurs="unbounded"
       >
         <xs:complexType name="Process">
           <xs:sequence>
             <xs:element name="Name"
               type="xs:unsignedInt"
              />
             <xs:element name="Image"
               type="xs:string"
              />
             <xs:element name="Path"
               type="xs:string"
              />
             <xs:element name="CommandLine"
               type="xs:string"
              />
             <xs:element name="User"
               type="xs:string"
              />
             <xs:element name="Domain"
               type="xs:string"
              />
             <xs:element name="CreationTime"
               type="xs:unsignedLong"
              />
             <xs:element name="UserTime"
               type="xs:unsignedLong"
              />
             <xs:element name="KernelTime"
               type="xs:unsignedLong"
              />
             <xs:element name="HandleCount"
               type="xs:unsignedShort"
              />
             <xs:element name="SessionId"
               type="xs:unsignedInt"
              />
             <xs:element name="NumberOfThreads"
               type="xs:unsignedByte"
              />
             <xs:element name="PeakVirtualSize"
               type="xs:unsignedInt"
              />
             <xs:element name="VirtualSize"
               type="xs:unsignedLong"
              />
             <xs:element name="PageFaultCount"
               type="xs:unsignedInt"
              />
             <xs:element name="PeakWorkingSetSize"
               type="xs:unsignedInt"
              />
             <xs:element name="WorkingSetSize"
               type="xs:unsignedLong"
              />
             <xs:element name="QuotaPeakPagedPoolUsage"
               type="xs:unsignedInt"
              />
             <xs:element name="QuotaPagedPoolUsage"
               type="xs:unsignedInt"
              />
             <xs:element name="QuotaPeakNonPagedPoolUsage"
               type="xs:unsignedInt"
              />
             <xs:element name="QuotaNonPagedPoolUsage"
               type="xs:unsignedInt"
              />
             <xs:element name="PageFileUsage"
               type="xs:unsignedInt"
              />
             <xs:element name="PeakPageFileUsage"
               type="xs:unsignedInt"
              />
             <xs:element name="PrivatePageCount"
               type="xs:unsignedLong"
              />
             <xs:element name="ReadOperationCount"
               type="xs:unsignedLong"
              />
             <xs:element name="WriteOperationCount"
               type="xs:unsignedLong"
              />
             <xs:element name="OtherOperationCount"
               type="xs:unsignedLong"
              />
             <xs:element name="ReadTransferCount"
               type="xs:unsignedLong"
              />
             <xs:element name="WriteTransferCount"
               type="xs:unsignedLong"
              />
             <xs:element name="OtherTransferCount"
               type="xs:unsignedLong"
              />
           </xs:sequence>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>

Child Elements

Element

Type

Description

Process

Process

A specification of the properties of a process.

Name

xs:unsignedInt

A number specifying the process identifier of the process.

Image

xs:string

A string that specifies the image name.

Path

xs:string

A string that specifies the image path.

CommandLine

xs:string

A string that specifies the contents of the command line for invoking the process.

User

xs:string

A string that specifies the user name associated with the process.

Domain

xs:string

A string that specifies the domain name associated with the process.

CreationTime

xs:unsignedLong

A 64-bit unsigned integer that specifies the creation time of the process. Its lower 32 bits represent the dwLowDateTime field, and its higher 32 bits represent the dwHighDateTime field of the FILETIME structure as specified in [MS-DTYP] section 2.3.3.

UserTime

xs:unsignedLong

A 64-bit unsigned integer that specifies the length of time, in milliseconds, the process has executed in user mode.

KernelTime

xs:unsignedLong

A 64-bit unsigned integer that specifies the length of time, in milliseconds, the process has executed in kernel mode.

HandleCount

xs:unsignedShort

A 16-bit unsigned integer that specifies the number of handles opened by the process.

SessionId

xs:unsignedInt

A32-bit unsigned integer that specifies a session id for the process.

NumberOfThreads

xs:unsignedByte

An 8-bit unsigned integer that specifies the number of threads associated with the process.

PeakVirtualSize

xs:unsignedInt

A 32-bit unsigned integer that specifies the maximum virtual memory size, in bytes, attained by the process.

VirtualSize

xs:unsignedLong

A 64-bit unsigned integer that specifies the virtual memory size, in bytes, attained by the process when properties of the process were recorded.

PageFaultCount

xs:unsignedInt

A 32-bit unsigned integer that specifies the number of page faults generated by the process.

PeakWorkingSetSize

xs:unsignedInt

A 32-bit unsigned integer that specifies the maximum working set size, in bytes, attained by the process.

WorkingSetSize

xs:unsignedLong

A 64-bit unsigned integer that specifies the working set size, in bytes, attained by the process.

QuotaPeakPagedPoolUsage

xs:unsignedInt

A 32-bit unsigned integer that specifies the maximum quota amount of paged pool usage, in kilobytes, for the process.

QuotaPagedPoolUsage

xs:unsignedInt

A 32-bit unsigned integer that specifies the quota amount of paged pool usage, in kilobytes, for the process.

QuotaPeakNonPagedPoolUsage

xs:unsignedInt

A 32-bit unsigned integer that specifies the maximum quota amount of non-paged pool usage, in kilobytes, for the process.

QuotaNonPagedPoolUsage

xs:unsignedInt

A 32-bit unsigned integer that specifies the quota amount of non-paged pool usage, in kilobytes, for the process.

PageFileUsage

xs:unsignedInt

A 32-bit unsigned integer that specifies the amount of the page file used, in kilobytes, by the process.

PeakPageFileUsage

xs:unsignedInt

A 32-bit unsigned integer that specifies the maximum amount of the page file used, in kilobytes, by the process.

PrivatePageCount

xs:unsignedLong

A 64-bit unsigned integer that specifies the size of private virtual memory pages used by the process.

ReadOperationCount

xs:unsignedLong

A 64-bit unsigned integer that specifies the number of read operations that have been performed by the process.

WriteOperationCount

xs:unsignedLong

A 64-bit unsigned integer that specifies the number of write operations that have been performed by the process.

OtherOperationCount

xs:unsignedLong

A 64-bit unsigned integer that specifies the number of non-read and non-write I/O operations--for example, I/O control functions--that have been performed by the process.

ReadTransferCount

xs:unsignedLong

A 64-bit unsigned integer that specifies the amount of data, in bytes, that has been read by the process.

WriteTransferCount

xs:unsignedLong

A 64-bit unsigned integer that specifies the amount of data, in bytes, that has been written by the process.

OtherTransferCount

xs:unsignedLong

A 64-bit unsigned integer that specifies the amount of data, in bytes, that has been transferred by the process through non-read or non-write data transfers; an example would be data transferred for I/O control functions.

Additional XML data formats are specified in section 2.2.5.