Esegui VMStat
Microsoft.Linux.Universal.Invoke.VMStat.Task (Task)
Esegue il comando VMStat con un intervallo di 3 secondi e un conteggio pari a 2.
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Linux.Universal.Invoke.VMStat.Task" Target="Universal!Microsoft.Linux.Universal.Computer" Accessibility="Internal" Enabled="true">
<Category>Maintenance</Category>
<ProbeAction ID="VMStat" TypeID="Unix!Microsoft.Unix.WSMan.Invoke.ProbeAction">
<TargetSystem>$Target/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
<Selector/>
<InvokeAction>ExecuteCommand</InvokeAction>
<Input><p:ExecuteCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"><p:command>/usr/bin/vmstat 3 2</p:command><p:timeout>60</p:timeout></p:ExecuteCommand_INPUT></Input>
</ProbeAction>
</Task>