Exécuter VMStat
Microsoft.AIX.7.Invoke.VMStat.Task (Task)
Exécute la commande VMStat avec un intervalle de 3 secondes et un nombre de 2.
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.AIX.7.Invoke.VMStat.Task" Target="Microsoft.AIX.7.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>