Microsoft Virtualization Discussions

stats show flexscale-access with powershell

ofivalmo1
3,530 Views

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 ?

1 ACCEPTED SOLUTION

markweber
3,530 Views

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

View solution in original post

2 REPLIES 2

markweber
3,531 Views

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

ofivalmo1
3,530 Views

Hi

Thank you

Public