Microsoft Virtualization Discussions

Pert counters

JSHACHER11
3,681 Views

I am trying to get performance stats of 'wafl' and 'readahead'

tried 'Invoke-NaSsh "stats show wafl" and 'Get-NaPerfData -Name wafl' but it just says 'invalid'

(same works for 'volume' and 'lun')

any idea?

Thank you

1 ACCEPTED SOLUTION

markweber
3,681 Views

i'm not sure it qualifies as good, but i wrote this to be able to pull all stats from a 7-mode system and push them to graphite:

https://github.com/mrkwbr/neat/blob/master/scripts/Get-NaPerfAll.ps1

View solution in original post

2 REPLIES 2

JSHACHER11
3,681 Views

I think I got it:

'Invoke-NaSsh "priv set diag;stats show wafl;priv set"

I was trying:

'Invoke-NaSsh "priv set diag"

'Invoke-NaSsh "stats show wafl"

'Invoke-NaSsh "priv set"

If anyone has a good example/script of 'Get-NaPerfData', please share

Thank you

markweber
3,682 Views

i'm not sure it qualifies as good, but i wrote this to be able to pull all stats from a 7-mode system and push them to graphite:

https://github.com/mrkwbr/neat/blob/master/scripts/Get-NaPerfAll.ps1

Public