Take a look at the cmdlets in the perf category:
PS C:\> Get-NaHelp -Category perf
Name Category Api
---- -------- ---
Get-NaPerfCounter perf {perf-object-counter-list-info}
Get-NaPerfData perf {perf-object-get-instances-iter-start, perf-object-get-instances...
Get-NaPerfInstance perf {perf-object-instance-list-info-iter-start, perf-object-instance...
Get-NaPerfObject perf {perf-object-list-info}
Invoke-NaSysstat perf {perf-object-get-instances}
I think what you are looking for is the scsi_partner_ops counter for the lun object. The instance name for LUNs is in the form <lun-path>-<lun-serial-number>. You can construct this yourself, or use "Get-NaPerfInstance lun" to see a listing of LUN instances. In order to get an accurate reading, you'll need to collect the counter data, wait a few seconds, collect the counter data again, then calculate the delta. For example:
$lunPath = "/vol/vol1/lun1"
$instanceName = "{0}-{1}" -f $lunPath, (Get-NaLun $lunPath).SerialNumber
$perf1 = Get-NaPerfData -Name lun -Instance $instanceName -Counter scsi_partner_ops
Sleep -Seconds 5
$perf2 = Get-NaPerfData -Name lun -Instance $instanceName -Counter scsi_partner_ops
New-Object PSObject -Property @{ Name=$lunPath; PartnerOps = ($perf2.Counters[0].Value - $perf1.Counters[0].Value) / ($perf2.Timestamp - $perf1.Timestamp) }
-Steven