<?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 do I get all CIFS sesssions with a certain idle time? in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/160893#M36745</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;The selection is now working. As you can see in my first question, no results were delivered (no idea why). The same queries now deliver the desired results:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;FAS80402::&amp;gt; vserver cifs session show -idle-time &amp;gt;5h&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Node: NA8xxxxx1&lt;BR /&gt;Vserver: SVM_Fxxxx&lt;BR /&gt;Connection Session Open Idle Connection&lt;BR /&gt;ID ID Workstation Windows User Files Time Count&lt;BR /&gt;---------- ------- ---------------- ---------------- --------- ------------ ---------------&lt;BR /&gt;1277368854 6517553085735903271 6h 18m 31s 1&lt;BR /&gt;172.18.111.18 XXXXXX\hostftp 0&lt;BR /&gt;1277368854 6517553085735903274 6h 18m 31s 1&lt;BR /&gt;172.18.111.18 XXXXXX\hostftp 0&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Maybe it was a BUG in the ONTAP version we were using in the past - I don't know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
    <pubDate>Mon, 02 Nov 2020 13:40:02 GMT</pubDate>
    <dc:creator>sanadmin_stadtdo</dc:creator>
    <dc:date>2020-11-02T13:40:02Z</dc:date>
    <item>
      <title>How do I get all CIFS sesssions with a certain idle time?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/146157#M32451</link>
      <description>&lt;P&gt;Hello, everyone,&lt;BR /&gt;I want to see all CIFS sessions whose idle time is higher/lower/equal to a certain duration.&amp;nbsp; Unfortunately I can't get the correct value after "-idle-time".&lt;BR /&gt;It always looks like this:&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;FAS80402::&amp;gt; vserver cifs session show -idle-time &amp;gt;0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Error: "0" is an invalid value for field "-idle-time &amp;lt;elapsed&amp;gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;FAS80402::&amp;gt; vserver cifs session show -idle-time 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Error: "0" is an invalid value for field "-idle-time &amp;lt;elapsed&amp;gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;FAS80402::&amp;gt; vserver cifs session show -idle-time &amp;gt;3s&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Error: "3s" is an invalid value for field "-idle-time &amp;lt;elapsed&amp;gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Does anyone know how to set the value?&lt;BR /&gt;&lt;BR /&gt;Thank you very much.&lt;BR /&gt;Best regards&lt;BR /&gt;&lt;BR /&gt;Michael&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 12:54:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/146157#M32451</guid>
      <dc:creator>sanadmin_stadtdo</dc:creator>
      <dc:date>2019-01-24T12:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get all CIFS sesssions with a certain idle time?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/146161#M32452</link>
      <description>&lt;P&gt;&lt;A href="https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-cmpr-950%2FTOC__vserver__cifs.html" target="_blank"&gt;https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-cmpr-950%2FTOC__vserver__cifs.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[&lt;SPAN class="keyword option"&gt;-idle-time&lt;/SPAN&gt; &lt;VAR class="keyword varname"&gt;&amp;lt;[&amp;lt;integer&amp;gt;d][&amp;lt;integer&amp;gt;h][&amp;lt;integer&amp;gt;m][&amp;lt;integer&amp;gt;s]&amp;gt;&lt;/VAR&gt;] - Idle TimeIf you specify this parameter, the command displays information about CIFS sessions on which there is no activity for the specified time duration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Man pages show the syntax is something like "-idle-time 3m" or "-idle-time 1s".&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 15:33:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/146161#M32452</guid>
      <dc:creator>paul_stejskal</dc:creator>
      <dc:date>2019-01-24T15:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get all CIFS sesssions with a certain idle time?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/146209#M32465</link>
      <description>&lt;P style="padding-left: 30px;"&gt;Hello, Paul,&lt;BR /&gt;&lt;BR /&gt;thanks for the answer, but unfortunately it doesn't work for me (no matter if with d, m, s):&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;FAS80402::*&amp;gt; vserver cifs session show -idle-time 0s&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Error: "0s" is an &lt;STRONG&gt;invalid&lt;/STRONG&gt; value for field "-idle-time &amp;lt;elapsed&amp;gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;FAS80402::*&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT size="2" face="courier new,courier"&gt;FAS80402::*&amp;gt; vserver cifs session show -idle-time 5s&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;Error: "5s" is an &lt;STRONG&gt;invalid&lt;/STRONG&gt; value for field "-idle-time &amp;lt;elapsed&amp;gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;FAS80402::*&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;Currently over 7000 CIFS sessions are active - I would have to get some hit with the query; the value itself cannot be "invalid" all the time.&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;The background of the query should be to determine how many sessions are active longer than a given time (e.g. 2 hours); i.e. also anything with "&amp;gt; value" or "&amp;lt; value".&amp;nbsp; But it already fails because of the value "-idle-time".&amp;nbsp; Maybe there is another query for this.&lt;BR /&gt;&lt;BR /&gt;Greetings&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Translated with &lt;A href="http://www.DeepL.com/Translator" target="_blank"&gt;www.DeepL.com/Translator&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 07:48:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/146209#M32465</guid>
      <dc:creator>sanadmin_stadtdo</dc:creator>
      <dc:date>2019-01-28T07:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get all CIFS sesssions with a certain idle time?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/146220#M32469</link>
      <description>&lt;P&gt;I'm wondering if there might be a bug. I'd suggest opening a case.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 15:54:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/146220#M32469</guid>
      <dc:creator>paul_stejskal</dc:creator>
      <dc:date>2019-01-28T15:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get all CIFS sesssions with a certain idle time?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/160701#M36715</link>
      <description>&lt;P&gt;Was the issue fixed, were you able to run the command?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 08:27:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/160701#M36715</guid>
      <dc:creator>tahmad</dc:creator>
      <dc:date>2020-10-27T08:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get all CIFS sesssions with a certain idle time?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/160716#M36720</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/8444"&gt;@sanadmin_stadtdo&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/83293"&gt;@tahmad&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/45689"&gt;@paul_stejskal&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;This command works fine for me in 9.5P12. The syntax is :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cluster::&amp;gt; vserver cifs session show -idle-time 5&lt;/P&gt;
&lt;P&gt;Node: Cluster-01&lt;BR /&gt;Vserver: SVM1&lt;BR /&gt;Connection Session Open Idle Connection&lt;BR /&gt;ID ID Workstation Windows User Files Time Count&lt;BR /&gt;---------- ------- ---------------- ---------------- --------- ------------ ---------------&lt;BR /&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5s 1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 15:49:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/160716#M36720</guid>
      <dc:creator>not_a_Lone_wolf</dc:creator>
      <dc:date>2020-10-27T15:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get all CIFS sesssions with a certain idle time?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/160893#M36745</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;The selection is now working. As you can see in my first question, no results were delivered (no idea why). The same queries now deliver the desired results:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;FAS80402::&amp;gt; vserver cifs session show -idle-time &amp;gt;5h&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Node: NA8xxxxx1&lt;BR /&gt;Vserver: SVM_Fxxxx&lt;BR /&gt;Connection Session Open Idle Connection&lt;BR /&gt;ID ID Workstation Windows User Files Time Count&lt;BR /&gt;---------- ------- ---------------- ---------------- --------- ------------ ---------------&lt;BR /&gt;1277368854 6517553085735903271 6h 18m 31s 1&lt;BR /&gt;172.18.111.18 XXXXXX\hostftp 0&lt;BR /&gt;1277368854 6517553085735903274 6h 18m 31s 1&lt;BR /&gt;172.18.111.18 XXXXXX\hostftp 0&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Maybe it was a BUG in the ONTAP version we were using in the past - I don't know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:40:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/160893#M36745</guid>
      <dc:creator>sanadmin_stadtdo</dc:creator>
      <dc:date>2020-11-02T13:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get all CIFS sesssions with a certain idle time?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/160922#M36751</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/8444"&gt;@sanadmin_stadtdo&lt;/a&gt;&amp;nbsp;Great to hear that Michael &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 14:14:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-do-I-get-all-CIFS-sesssions-with-a-certain-idle-time/m-p/160922#M36751</guid>
      <dc:creator>not_a_Lone_wolf</dc:creator>
      <dc:date>2020-11-03T14:14:33Z</dc:date>
    </item>
  </channel>
</rss>

