Microsoft Virtualization Discussions

stats show flexscale-access with powershell

ofivalmo1

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

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

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

ofivalmo1

Hi

Thank you

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public