Data ONTAP® PowerShell Toolkit

Cmdlet: Get-NaCifsStatistics


NAME
Get-NaCifsStatistics

SYNOPSIS
Display CIFS client statistics.

SYNTAX
Get-NaCifsStatistics [-SortGroup <String>] [-MaxClients <Int32>] [-AverageTy
pe <String>] [-Controller <NaController>] [-WarningAction <ActionPreference>
] [-WarningVariable <String>] [<CommonParameters>]


DESCRIPTION
Display CIFS client statistics.


PARAMETERS
-SortGroup <String>
If specified, the client statistics are sorted by the value of the strin
g: "ops": Sort by the number of operations per second of any type. "rea
ds": Sort by kbytes/sec of data in response to read requests. "writes":
Sort by kbytes/sec of data written to the filer. "ios": Sort by the com
bined total of reads plus writes for each client. "suspicious": Sort by
the number of "suspicious" events per second by each client.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-MaxClients <Int32>
Specifies the maximum number of top clients to display (the default is 2
0).

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-AverageType <String>
Specifies how the client statistics are to be averaged for display: "smo
oth": Use a smoothed average which is weighted towards recent behavior b
ut takes into account previous history of the client. "now": Use a one-
second sample taken immediately and no history is taken into account. "t
otal": Use the total count of each statistic divided by the total time s
ince sampling started. If the is-verbose option is also set, the totals
are given without dividing by the sample time.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningAction <ActionPreference>


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable <String>


Required? false
Position? named
Default value
Accept pipeline input? false
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
NetApp.Ontapi.Filer.Cifs.CifsTopInfo


NOTES


Category: cifs
API: cifs-top-iter-start, cifs-top-iter-next, cifs-top-iter-end

-------------- Example 1 --------------

C:\PS>Get-NaCifsStatistics


Get CIFS client statistics.


OpsPerSec : 0
ReadOps : 0
ReadSize : 0
SuspiciousPerSec : 0
UserInfo : 10.61.167.22 RTPRRE\administrator
WriteOps : 0
WriteSize : 0



RELATED LINKS







 Data ONTAP® PowerShell Toolkit