|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Invoke-NcPerfstat
NAME
Invoke-NcPerfstat
SYNOPSIS
Gather perfstat information.
SYNTAX
Invoke-NcPerfstat [[-Directory] <String>] [[-Node] <String[]>] [-SampleInter
val <Int32>] [-Time <Int32>] [-Iterations <Int32>] [-IterationSleepTime <Int
32>] [-Controller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Gather perfstat information.
This cmdlet performs a basic perfstat. Output files are in the Perfstat 8.1
format. The collected data conforms to the following restrictions:
- All data collection is done via SSH.
- Only FILER data is collected.
- No SystemShell commands are run.
- Stuttered statit commands are run in "full" mode. That is, the statit c
ommands are stuttered for the entire parallel command time duration.
PARAMETERS
-Directory <String>
Output directory to copy all resulting files.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Node <String[]>
Restrict the perfstat to run on the given node or nodes. Data ONTAP wil
dcards are accepted.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-SampleInterval <Int32>
Sysstat/statit frequency in seconds. Default value is based on the valu
e supplied for Time.
Time <= 60 SampleInterval = 1
60 < Time <= 300 SampleInterval = 10
300 < Time <= 600 SampleInterval = 30
Time > 600 SampleInterval = 60
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Time <Int32>
Time to run parallel commands in seconds. Default value is 120.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Iterations <Int32>
Number of iterations to run. Default value is 1.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-IterationSleepTime <Int32>
Number of seconds to sleep between iterations. Default value is 0.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
NOTES
Category: toolkit
Family: cluster
-------------- Example 1 --------------
C:\PS>Invoke-NcPerfstat -Directory C:\perfstat -SampleInterval 15 -Time 180
Collect perfstat information for the current cluster, with a 15 second inter
val for sysstat and statit commands with a 180 second duration for the paral
lel commands.
RELATED LINKS
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|