NetApp

Get Flash Accel cache device attributes cmdlet
The Get-FACache cmdlet gets the attributes of the cache device managed by Flash Accel.
Syntax
Get-FACache

[
-Metrics [SwitchParameter]]
[
-FormatInfo [SwitchParameter]]
[
-Detailed [SwitchParameter]]
[
-ComputerName String]
[
-Credential PsCredential]
[
CommonParameters]
Description
The Get-FACache cmdlet gets the attributes of the cache device managed by Flash Accel. To get information for a remote computer, use the ComputerName parameter. The command uses WMI to gather data remotely and locally.
Parameters
-Metrics [SwitchParameter]
Displays performance metrics of the cache devices.
-FormatInfo [SwitchParameter]
Displays formatting information of the cache devices. Not allowed if -Detailed is specified.
-Detailed [SwitchParameter]
Displays all available attributes of the cache including performance metrics of the cache device. Not allowed if -FormatInfo is specified.
-ComputerName String
Specifies a remote Windows computer on which you want to run the command. If you do not use this parameter, the command runs on the local computer. The value can be a fully qualified domain name or an IP address. When the remote computer is in a different domain from the local computer, you must use a fully qualified domain name.
-Credential PsCredential
Specifies a user account that you want to use to run this command. An administrative-level user account is required. If you do not use this parameter, the command runs under the user account with which you are currently logged in. Type a user name, such as "User01", "Domain01\User01", or "User@example.com". You can also enter a PSCredential object, such as an object that is returned by the Get-Credential cmdlet. When you type a user name, you are prompted for a password.
This cmdlet supports the following common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, type:
get-help about_commonparameters
Example 4. Example: Get basic cache attributes
The following example gets basic cache information from the local computer:
C:\PS>Get-FACache

BuildVersion : 1.0.4328.282
CacheDeviceId : 6000c2a0f685447fbd227bc6ceb75ace
CacheNaaId : 6000c2a0f685447fbd227bc6ceb75ace
CacheAdminState : Enabled
CacheOperationalState : Normal
OperStateMessage :
CacheMode : WriteThru
PerfState : Disabled
LogicalBlockAddress : 41943039
CurrentGenID : 8
Example 5. Example: Get detailed attributes from a remote computer
The following example gets the detailed attributes of the cache device managed by Flash Accel on computer "server01". Because no credentials are supplied, the current user account is used to log in.
C:\PS>Get-FACache -Detailed -ComputerName server01

BuildVersion : 1.0.4510.282
CacheDeviceId : 6000c2a0f685447fbd227bc6ceb75ace
CacheNaaId : 6000c2a0f685447fbd227bc6ceb75ace
CacheAdminState : Enabled
CacheOperationalState : Normal
OperStateMessage : WriteThru mode
CacheMode : WriteThru
PerfState : Enabled
LogicalBlockAddress : 41943039
CurrentGenId : 8

ReplacementPolicy : 2
BlockSize : 4096
BlocksPerChunk : 128
Chunks : 81918
FormattedChunks : 81919
UsableBlocks : 5160834
MaxDevices : 1024

HitLatencyAvg : 0
HitLatencyMin : 0
HitLatencyMax : 0
ChunkReadCount : 0
ChunkOverwriteCount : 0
ChunkSkipCount : 0
FullFlushLatencyAvg : 0
FullFlushLatencyMin : 0
FullFlushLatencyMax : 0
FullFlushCount : 0
PartialFlushLatencyAvg : 0
PartialFlushLatencyMin : 0
PartialFlushLatencyMax : 0
PartialFlushCount : 0
FailedCacheReadOps : 0
FailedFullFlushes : 0
FailedPartialFlushes : 0
WriteQDepth : 0
WriteQDepthAvg : 0
WriteQDepthMax : 0
LogScanSecs : 0
Parent Topic: Flash Accel PowerShell cmdlets


Was this topic helpful? Send comments to NetApp.