ONTAP Discussions

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

robbrown27709
2,486 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