<?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: Wrong return from perf perf-object-get-instances and cMode DOT in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Wrong-return-from-perf-perf-object-get-instances-and-cMode-DOT/m-p/97485#M1284</link>
    <description>&lt;P&gt;Check out this similar thread. It has some information about the unit types of perf counters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Query-regarding-types-in-Data-ONTAP-Performance-counters/td-p/22130" target="_blank"&gt;http://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Query-regarding-types-in-Data-ONTAP-Performance-counters/td-p/22130&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Nov 2014 19:42:47 GMT</pubDate>
    <dc:creator>zulanch</dc:creator>
    <dc:date>2014-11-21T19:42:47Z</dc:date>
    <item>
      <title>Wrong return from perf perf-object-get-instances and cMode DOT</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Wrong-return-from-perf-perf-object-get-instances-and-cMode-DOT/m-p/96951#M1278</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to get some info from my filers like cpu_busy, total_ops, latency...&lt;/P&gt;&lt;P&gt;I wrote a perl script using the ONTAPI but for example when I get the system counter cpu_busy, it show me a large number instead of utilisation %, is it normal ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my $api = new NaElement('perf-object-get-instances');&lt;/P&gt;&lt;P&gt;my $xi = new NaElement('counters');&lt;BR /&gt;$api-&amp;gt;child_add($xi);&lt;BR /&gt;$xi-&amp;gt;child_add_string('counter','cpu_busy');&lt;/P&gt;&lt;P&gt;my $xi1 = new NaElement('instance-uuids');&lt;BR /&gt;$api-&amp;gt;child_add($xi1);&lt;/P&gt;&lt;P&gt;$xi1-&amp;gt;child_add_string('instance-uuid',$node_uuid);&lt;BR /&gt;$api-&amp;gt;child_add_string('objectname','system');&lt;/P&gt;&lt;P&gt;my $xo = connect_filer($filer_address)-&amp;gt;invoke_elem($api);&lt;BR /&gt;my $instances = $xo-&amp;gt;child_get("instances");&lt;/P&gt;&lt;P&gt;if($instances){&lt;BR /&gt;my $instance_data = $instances-&amp;gt;child_get("instance-data");&lt;BR /&gt;my $counters = $instance_data-&amp;gt;child_get("counters");&lt;BR /&gt;if($counters){&lt;BR /&gt;my $counter_data = $counters-&amp;gt;child_get("counter-data");&lt;BR /&gt;if($counter_data){&lt;BR /&gt;my $rounded_busy = $counter_data-&amp;gt;child_get_int("value");&lt;BR /&gt;$cpu_return{$node_name} = $rounded_busy;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the same issue when I use nfs_ops, it give me total nfs operation sinc last boot instead of nfs operation per second...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:24:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Wrong-return-from-perf-perf-object-get-instances-and-cMode-DOT/m-p/96951#M1278</guid>
      <dc:creator>RoulienDeLaVega</dc:creator>
      <dc:date>2025-06-05T05:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong return from perf perf-object-get-instances and cMode DOT</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Wrong-return-from-perf-perf-object-get-instances-and-cMode-DOT/m-p/97485#M1284</link>
      <description>&lt;P&gt;Check out this similar thread. It has some information about the unit types of perf counters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Query-regarding-types-in-Data-ONTAP-Performance-counters/td-p/22130" target="_blank"&gt;http://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Query-regarding-types-in-Data-ONTAP-Performance-counters/td-p/22130&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2014 19:42:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Wrong-return-from-perf-perf-object-get-instances-and-cMode-DOT/m-p/97485#M1284</guid>
      <dc:creator>zulanch</dc:creator>
      <dc:date>2014-11-21T19:42:47Z</dc:date>
    </item>
  </channel>
</rss>

