NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform.
You will still be able to view content, but posting and replying will be temporarily disabled.
To learn more, please review the information in this blog post.

ONTAP Discussions

Single command to display CIFS open file path, workstation IP, and Windows user.

robbrown27709
3,761 Views

HI all, 

 

Anyone know of a single command to display CIFS open file path, workstation IP, and Windows user?

As of now I can do this using two commands as follows:

     1) vserver cifs session file show -vserver myvserver

              This shows the full path of the open file and the "Connection ID"

               It does not show the "Workstation IP" and "Windows User"

 

     2) vserver cifs session show -address *

              This shows the "Workstation IP",  "Windows User", and "Connection ID". 

               It does not show the full path of the open file. 

 

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

so I can see what Workstation and user has the file open.

Anyone know of one command that will show everytning? 

 

Thanks in advance.

-Robert 

 

 

0 REPLIES 0
Public