<?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 Single command to display CIFS open file path, workstation IP, and Windows user. in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Single-command-to-display-CIFS-open-file-path-workstation-IP-and-Windows-user/m-p/126626#M27379</link>
    <description>&lt;P&gt;HI all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone know of a &lt;U&gt;single&lt;/U&gt; command to display CIFS open file path, workstation IP, and Windows user?&lt;/P&gt;&lt;P&gt;As of now I can do this using two commands as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1) &lt;STRONG&gt;vserver cifs session file show -vserver myvserver&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; This shows the full path of the open file and the "Connection ID"&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;It does &lt;U&gt;not&lt;/U&gt; show the&amp;nbsp;&lt;SPAN&gt;"Workstation IP"&amp;nbsp;and "Windows User"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;2)&amp;nbsp;&lt;STRONG&gt;vserver cifs session show -address *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; This shows the "Workstation IP", &amp;nbsp;"Windows User", and "Connection ID".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;It does &lt;/SPAN&gt;&lt;U&gt;not&lt;/U&gt;&lt;SPAN&gt; show the full path of the open file.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After executing these two commands I have to look at the Connection ID from the first command and then find it in the second command just&lt;/P&gt;&lt;P&gt;so I can see what Workstation and user has the file open.&lt;/P&gt;&lt;P&gt;Anyone know of one command that will show everytning?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;-Robert&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 16:11:35 GMT</pubDate>
    <dc:creator>robbrown27709</dc:creator>
    <dc:date>2025-06-04T16:11:35Z</dc:date>
    <item>
      <title>Single command to display CIFS open file path, workstation IP, and Windows user.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Single-command-to-display-CIFS-open-file-path-workstation-IP-and-Windows-user/m-p/126626#M27379</link>
      <description>&lt;P&gt;HI all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone know of a &lt;U&gt;single&lt;/U&gt; command to display CIFS open file path, workstation IP, and Windows user?&lt;/P&gt;&lt;P&gt;As of now I can do this using two commands as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1) &lt;STRONG&gt;vserver cifs session file show -vserver myvserver&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; This shows the full path of the open file and the "Connection ID"&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;It does &lt;U&gt;not&lt;/U&gt; show the&amp;nbsp;&lt;SPAN&gt;"Workstation IP"&amp;nbsp;and "Windows User"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;2)&amp;nbsp;&lt;STRONG&gt;vserver cifs session show -address *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; This shows the "Workstation IP", &amp;nbsp;"Windows User", and "Connection ID".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;It does &lt;/SPAN&gt;&lt;U&gt;not&lt;/U&gt;&lt;SPAN&gt; show the full path of the open file.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After executing these two commands I have to look at the Connection ID from the first command and then find it in the second command just&lt;/P&gt;&lt;P&gt;so I can see what Workstation and user has the file open.&lt;/P&gt;&lt;P&gt;Anyone know of one command that will show everytning?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;-Robert&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 16:11:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Single-command-to-display-CIFS-open-file-path-workstation-IP-and-Windows-user/m-p/126626#M27379</guid>
      <dc:creator>robbrown27709</dc:creator>
      <dc:date>2025-06-04T16:11:35Z</dc:date>
    </item>
  </channel>
</rss>

