查詢並顯示目前執行中的處理程序清單
此工作會執行 "TASKLIST" 命令列公用程式,以列出所有目前執行中的程序,及其影像名稱、工作階段名稱、工作階段識別碼、處理程序識別碼和記憶體使用率。
Target | Microsoft.Windows.Server.6.2.Computer |
Accessibility | Public |
Category | Maintenance |
Enabled | True |
Remotable | False |
Timeout | 300 |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
PA | ProbeAction | System.CommandExecuterProbe | Default |
<Task ID="Microsoft.Windows.Server.6.2.Computer.ProcessList.Task" Target="WindowsServer!Microsoft.Windows.Server.6.2.Computer" Accessibility="Public">
<Category>Maintenance</Category>
<ProbeAction ID="PA" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%WINDIR%\System32\TASKLIST.EXE</ApplicationName>
<WorkingDirectory/>
<CommandLine>/S $Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</CommandLine>
<TimeoutSeconds>30</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</ProbeAction>
</Task>