Microsoft Virtualization Discussions

Pert counters

JSHACHER11
4,138 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
4,138 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
4,138 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
4,139 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