<?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: Concurrent users of CIFS Shares over a time period in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170086#M39099</link>
    <description>&lt;P&gt;Hi Paul, not sure I really understood the approach suggested. What would be the crontab script to monitor that. Would really ease my job if there was a command which I could run when needed.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Sep 2021 05:59:14 GMT</pubDate>
    <dc:creator>vadc</dc:creator>
    <dc:date>2021-09-20T05:59:14Z</dc:date>
    <item>
      <title>Concurrent users of CIFS Shares over a time period</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170022#M39094</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a few CIFS shares configured, I do see that the "&lt;SPAN&gt;Max Users" attribute value is set to a very high number.&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trying to gather the average number of concurrent users over a period of time. I am running Clustered Data ONTAP 8.x and hence trying to figure out a way via CLI or ONTAPI interface so that it can be gathered programmatically or via script. Would like to monitor this info on regular basis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example: On an average (or 95th percentile) how many concurrent users were seen over the last 1 week or 1 month?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:13:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170022#M39094</guid>
      <dc:creator>vadc</dc:creator>
      <dc:date>2025-06-04T10:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Concurrent users of CIFS Shares over a time period</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170024#M39095</link>
      <description>&lt;P&gt;I would just create a SSH key login honestly. That seems to be the best way from a Linux host. Then you could use a crontab script to monitor that.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 12:49:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170024#M39095</guid>
      <dc:creator>paul_stejskal</dc:creator>
      <dc:date>2021-09-16T12:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Concurrent users of CIFS Shares over a time period</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170086#M39099</link>
      <description>&lt;P&gt;Hi Paul, not sure I really understood the approach suggested. What would be the crontab script to monitor that. Would really ease my job if there was a command which I could run when needed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 05:59:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170086#M39099</guid>
      <dc:creator>vadc</dc:creator>
      <dc:date>2021-09-20T05:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Concurrent users of CIFS Shares over a time period</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170092#M39102</link>
      <description>&lt;P&gt;The most basic command from the cluster shell that you could use to find out the number of CIFS users connected to share is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"vserver cifs session show -vserver &amp;lt;vserver&amp;gt; -fields connection-id,address,windows-user,auth-mechanism,session-id,connection-count"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can simply create a *.bat' file with the above command and place it in the Windows Task scheduler and set the repeating schedule. This will create the desired outputs and based on that you can access the number of users connected for a given time/hour of the day.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 09:27:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170092#M39102</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2021-09-20T09:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Concurrent users of CIFS Shares over a time period</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170106#M39103</link>
      <description>&lt;P&gt;Sorry I had a brain fart and forgot the command. Looks like Ontapforrum came through so I thank him!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 15:27:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170106#M39103</guid>
      <dc:creator>paul_stejskal</dc:creator>
      <dc:date>2021-09-20T15:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Concurrent users of CIFS Shares over a time period</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170126#M39113</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/73493"&gt;@Ontapforrum&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;. This is the data I was looking for. One follow-up question, instead of a *.bat file or a script, is it possible to get the connection-count via one of the perfstat commands at time t1 and t2?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 08:49:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170126#M39113</guid>
      <dc:creator>vadc</dc:creator>
      <dc:date>2021-09-21T08:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Concurrent users of CIFS Shares over a time period</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170127#M39114</link>
      <description>&lt;P&gt;perfstat for obtaining cifs connections data, may be too much. I may be wrong here but it is designed for diagnostic purpose and it has different set of commands pre-packed, also Perfstat is no longer supported ONTAP 9.5 and later. I guess, just a simple script will do the job for you.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 09:32:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170127#M39114</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2021-09-21T09:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Concurrent users of CIFS Shares over a time period</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170130#M39115</link>
      <description>&lt;P&gt;Technically yes, but perfstat is not supported since 9.5. It still runs, but we use perf archives for troubleshooting. Honestly, perfstat is just a fancy batch file or similar when you think about it, and its data is saved in a text file anyway.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 14:06:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Concurrent-users-of-CIFS-Shares-over-a-time-period/m-p/170130#M39115</guid>
      <dc:creator>paul_stejskal</dc:creator>
      <dc:date>2021-09-21T14:06:42Z</dc:date>
    </item>
  </channel>
</rss>

