Community

Subscribe
Highlighted
Accepted Solution

stats show flexscale-access with powershell

hi,

Sorry for my bad english

I use "Invoke-NaSysstat" for monitoring lun latence.

But, I Would like monitoring my PAM2.How can you get the same result as "stats show -p flexscale-access -i 4" with powershell ?

Re: stats show flexscale-access with powershell

the counter data can get gotten with:

get-naperfdata ext_cache_obj

you can view the object/instance/counters in the preset xml file:

rdfile /etc/stats/preset/flexscale-access.xml

you will then need to do the correct math for the counter type. you can see some examples in this script: https://communities.netapp.com/docs/DOC-10354 or my own here: https://github.com/mrkwbr/neat/blob/master/scripts/Get-NaPerfAll.ps1

Re: stats show flexscale-access with powershell

Hi

Thank you