<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to see &amp;quot;Partner Ops&amp;quot; stats by LUN in PowerShell in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-see-quot-Partner-Ops-quot-stats-by-LUN-in-PowerShell/m-p/67760#M3373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joel, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll take a stab at answering your questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;1)&amp;nbsp; Get-NaHelp -CategoryList&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;This is a format string.&amp;nbsp; See this post for more information on format strings and the PowerShell format operator (-f):&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://blogs.technet.com/b/heyscriptingguy/archive/2010/02/09/hey-scripting-guy-february-9-2010.aspx" target="_blank"&gt;http://blogs.technet.com/b/heyscriptingguy/archive/2010/02/09/hey-scripting-guy-february-9-2010.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;In this context, a LUN instance is an instance of the lun perf object.&amp;nbsp; Typically, there is one lun perf object instance per LUN on the system.&amp;nbsp; Get-NaPerfObject lists all of the available perf objects.&amp;nbsp; Get-NaPerfInstance lists all the available instances of a given perf object.&amp;nbsp; Get-NaPerfCounter lists all of the available counters of a given perf object.&amp;nbsp; And finally, Get-NaPerfData gets counter values for a given instance of a given perf object.&lt;/P&gt;&lt;P&gt;4)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I'm not sure on this one.&amp;nbsp; You can look through the counters for the volume perf object, but I didn't see anything that stood out to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 May 2013 15:06:21 GMT</pubDate>
    <dc:creator>beam</dc:creator>
    <dc:date>2013-05-23T15:06:21Z</dc:date>
    <item>
      <title>How to see "Partner Ops" stats by LUN in PowerShell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-see-quot-Partner-Ops-quot-stats-by-LUN-in-PowerShell/m-p/67737#M3369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Good People,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to write a PowerShell script which will show me the LUN statistics for "Partner Ops" which is very helpful in finding VMware Data stores that are not going through the optimal path. I am looking&amp;nbsp; for a direct PowerShell replacement for "lun stats -o" but don't want to use the cmdlet "Invoke-NaSsh" as we only use domain based usernames.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers most welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:02:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-see-quot-Partner-Ops-quot-stats-by-LUN-in-PowerShell/m-p/67737#M3369</guid>
      <dc:creator>PADMANTECH</dc:creator>
      <dc:date>2025-06-05T06:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to see "Partner Ops" stats by LUN in PowerShell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-see-quot-Partner-Ops-quot-stats-by-LUN-in-PowerShell/m-p/67742#M3370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at the cmdlets in the perf category:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;PS C:\&amp;gt; Get-NaHelp -Category perf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Api&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ---&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Get-NaPerfCounter&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {perf-object-counter-list-info}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Get-NaPerfData&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {perf-object-get-instances-iter-start, perf-object-get-instances...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Get-NaPerfInstance&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {perf-object-instance-list-info-iter-start, perf-object-instance...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Get-NaPerfObject&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {perf-object-list-info}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Invoke-NaSysstat&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {perf-object-get-instances}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think what you are looking for is the scsi_partner_ops counter for the lun object.&amp;nbsp; The instance name for LUNs is in the form &amp;lt;lun-path&amp;gt;-&amp;lt;lun-serial-number&amp;gt;.&amp;nbsp; You can construct this yourself, or use "Get-NaPerfInstance lun" to see a listing of LUN instances.&amp;nbsp; In order to get an accurate reading, you'll need to collect the counter data, wait a few seconds, collect the counter data again, then calculate the delta.&amp;nbsp; For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$lunPath = "/vol/vol1/lun1"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$instanceName = "{0}-{1}" -f $lunPath, (Get-NaLun $lunPath).SerialNumber&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$perf1 = Get-NaPerfData -Name lun -Instance $instanceName -Counter scsi_partner_ops&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Sleep -Seconds 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$perf2 = Get-NaPerfData -Name lun -Instance $instanceName -Counter scsi_partner_ops&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;New-Object PSObject -Property @{ Name=$lunPath; PartnerOps = ($perf2.Counters[0].Value - $perf1.Counters[0].Value) / ($perf2.Timestamp - $perf1.Timestamp) }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 14:02:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-see-quot-Partner-Ops-quot-stats-by-LUN-in-PowerShell/m-p/67742#M3370</guid>
      <dc:creator>beam</dc:creator>
      <dc:date>2013-05-15T14:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to see "Partner Ops" stats by LUN in PowerShell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-see-quot-Partner-Ops-quot-stats-by-LUN-in-PowerShell/m-p/67750#M3371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Beam's hit it on the head as usual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a better idea.. 10g NFS for ESX &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 14:21:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-see-quot-Partner-Ops-quot-stats-by-LUN-in-PowerShell/m-p/67750#M3371</guid>
      <dc:creator>JGPSHNTAP</dc:creator>
      <dc:date>2013-05-15T14:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to see "Partner Ops" stats by LUN in PowerShell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-see-quot-Partner-Ops-quot-stats-by-LUN-in-PowerShell/m-p/67755#M3372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I use this thread for some learning experience?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How do you find the categories?&lt;/P&gt;&lt;P&gt;2. What does this do &amp;gt;&amp;gt;&amp;gt;&amp;nbsp; &lt;SPAN style="font-family: 'courier new', courier;"&gt;"{0}-{1}"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3. What is a LUN instance? I can see that a processor is an instance. Is a NIC also an instance?&lt;/P&gt;&lt;P&gt;4. Can I get a per volume reallocation measurement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 14:53:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-see-quot-Partner-Ops-quot-stats-by-LUN-in-PowerShell/m-p/67755#M3372</guid>
      <dc:creator>JSHACHER11</dc:creator>
      <dc:date>2013-05-20T14:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to see "Partner Ops" stats by LUN in PowerShell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-see-quot-Partner-Ops-quot-stats-by-LUN-in-PowerShell/m-p/67760#M3373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joel, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll take a stab at answering your questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;1)&amp;nbsp; Get-NaHelp -CategoryList&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;This is a format string.&amp;nbsp; See this post for more information on format strings and the PowerShell format operator (-f):&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://blogs.technet.com/b/heyscriptingguy/archive/2010/02/09/hey-scripting-guy-february-9-2010.aspx" target="_blank"&gt;http://blogs.technet.com/b/heyscriptingguy/archive/2010/02/09/hey-scripting-guy-february-9-2010.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;In this context, a LUN instance is an instance of the lun perf object.&amp;nbsp; Typically, there is one lun perf object instance per LUN on the system.&amp;nbsp; Get-NaPerfObject lists all of the available perf objects.&amp;nbsp; Get-NaPerfInstance lists all the available instances of a given perf object.&amp;nbsp; Get-NaPerfCounter lists all of the available counters of a given perf object.&amp;nbsp; And finally, Get-NaPerfData gets counter values for a given instance of a given perf object.&lt;/P&gt;&lt;P&gt;4)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I'm not sure on this one.&amp;nbsp; You can look through the counters for the volume perf object, but I didn't see anything that stood out to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 15:06:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-see-quot-Partner-Ops-quot-stats-by-LUN-in-PowerShell/m-p/67760#M3373</guid>
      <dc:creator>beam</dc:creator>
      <dc:date>2013-05-23T15:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to see "Partner Ops" stats by LUN in PowerShell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-see-quot-Partner-Ops-quot-stats-by-LUN-in-PowerShell/m-p/67765#M3374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/21377_images.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 15:34:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-see-quot-Partner-Ops-quot-stats-by-LUN-in-PowerShell/m-p/67765#M3374</guid>
      <dc:creator>JSHACHER11</dc:creator>
      <dc:date>2013-05-23T15:34:38Z</dc:date>
    </item>
  </channel>
</rss>

