顯示伺服器統計資料

Microsoft.Windows.Server.2008.Computer.NetStatisticsServer.Task (Task)

顯示伺服器的伺服器服務中所有網路統計資料的清單。

Knowledge Base article:

摘要

此工作會執行 "NET STATISTICS SERVER" 命令,以顯示伺服器服務的統計資料。

Element properties:

TargetMicrosoft.Windows.Server.2008.Computer
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
PA ProbeAction System.CommandExecuterProbe Default

Source Code:

<Task ID="Microsoft.Windows.Server.2008.Computer.NetStatisticsServer.Task" Target="Server2008!Microsoft.Windows.Server.2008.Computer" Accessibility="Public">
<Category>Maintenance</Category>
<ProbeAction ID="PA" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%WINDIR%\System32\NET.EXE</ApplicationName>
<WorkingDirectory/>
<CommandLine>statistics server</CommandLine>
<TimeoutSeconds>30</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</ProbeAction>
</Task>