<?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: Collecting a single or rolling Perfstat on cDOT Nodes from linux in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Collecting-a-single-or-rolling-Perfstat-on-cDOT-Nodes-from-linux/m-p/116106#M24765</link>
    <description>&lt;P&gt;Thanks Adly for this useful information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Renifa&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2016 04:37:53 GMT</pubDate>
    <dc:creator>Renifa</dc:creator>
    <dc:date>2016-02-22T04:37:53Z</dc:date>
    <item>
      <title>Collecting a single or rolling Perfstat on cDOT Nodes from linux</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Collecting-a-single-or-rolling-Perfstat-on-cDOT-Nodes-from-linux/m-p/116087#M24761</link>
      <description>&lt;P&gt;This is a script that combines a single run of perfstat and a rolling perfstat for an intermittent issue.&lt;/P&gt;&lt;P&gt;The script will take care of creating the necessary key for perfstat to run&lt;/P&gt;&lt;P&gt;All you need is copy this script into the same directory as the latest perfstat binary is.&lt;/P&gt;&lt;P&gt;Change the top parameters in the script:&lt;/P&gt;&lt;P&gt;&lt;FONT face="terminal,monaco"&gt;case="2000000000"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="terminal,monaco"&gt;clstr="clustermgmt"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="terminal,monaco"&gt;iterations=5&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="terminal,monaco"&gt;sample=5&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="terminal,monaco"&gt;useradmin="admin"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="terminal,monaco"&gt;dstpath="."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;the perfstat outputs will be collected in dstpath directory. In this case, the same diretory where perfstat binary is.&lt;/P&gt;&lt;P&gt;start screen, run the script and &amp;lt;ctrl&amp;gt;a+d to detach from the session.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the rolling perfstat with a graceful stop of the loop. All you need to do is touch a file called stop in the same directory as the script. So the current perfstat will finish gracefully and the loop stops.&lt;/P&gt;&lt;P&gt;Similarly for running a single perfstat with the above parameters, touch a file named stop and it will perform 5 iterations with 5 minute sample as stated above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reference:&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.netapp.com/support/index?page=content&amp;amp;id=1015417" target="_self"&gt;KB#1015417 - How to collect a Perfstat from a clustered Data ONTAP system in Linux&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.netapp.com/support/index?page=content&amp;amp;id=1012616" target="_self"&gt;KB#1012616 - How to collect Performance Statistics for Intermittent Issues&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 15:14:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Collecting-a-single-or-rolling-Perfstat-on-cDOT-Nodes-from-linux/m-p/116087#M24761</guid>
      <dc:creator>Adly</dc:creator>
      <dc:date>2017-08-03T15:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Collecting a single or rolling Perfstat on cDOT Nodes from linux</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Collecting-a-single-or-rolling-Perfstat-on-cDOT-Nodes-from-linux/m-p/116106#M24765</link>
      <description>&lt;P&gt;Thanks Adly for this useful information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Renifa&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2016 04:37:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Collecting-a-single-or-rolling-Perfstat-on-cDOT-Nodes-from-linux/m-p/116106#M24765</guid>
      <dc:creator>Renifa</dc:creator>
      <dc:date>2016-02-22T04:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Collecting a single or rolling Perfstat on cDOT Nodes from linux</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Collecting-a-single-or-rolling-Perfstat-on-cDOT-Nodes-from-linux/m-p/133332#M29138</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the KBs are good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I heard some PS guys wrote a script than you can run perfstat multible times a day. With perfastat 7 it was easy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is something also available for perfstat8?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or can somebody share that script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes,&lt;/P&gt;&lt;P&gt;Markus.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 14:00:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Collecting-a-single-or-rolling-Perfstat-on-cDOT-Nodes-from-linux/m-p/133332#M29138</guid>
      <dc:creator>scheckel</dc:creator>
      <dc:date>2017-08-03T14:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Collecting a single or rolling Perfstat on cDOT Nodes from linux</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Collecting-a-single-or-rolling-Perfstat-on-cDOT-Nodes-from-linux/m-p/133338#M29141</link>
      <description>&lt;P&gt;Hi Markus,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, the script uses perfstat8.&lt;/P&gt;&lt;P&gt;I have attached the script above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Adly&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 15:18:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Collecting-a-single-or-rolling-Perfstat-on-cDOT-Nodes-from-linux/m-p/133338#M29141</guid>
      <dc:creator>Adly</dc:creator>
      <dc:date>2017-08-03T15:18:11Z</dc:date>
    </item>
  </channel>
</rss>

