查询并显示当前正在运行的进程列表
此任务执行“TASKLIST”命令行实用程序,该实用程序列出所有当前正在运行的进程以及映像名称、会话名称、会话 ID、进程 ID 和内存使用率。
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>