Viewing open files and shares

Status
Not open for further replies.

DAXQ

Contributor
Joined
Sep 5, 2014
Messages
106
I am sure this is not a great question, but on a Windows File Server - I can go to Computer Management > Shared Folders > Shares, Sessions, or Open Files and see who is connected to the server and what files may be opened.

If there an equivalent means to do this with command line BSD, or somewhere in the FreeNAS GUI? I very rarely use it, but it is convenient from time to time when there are issues.

Any suggestions greatly appreciated.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
Does fstat help? Check out the MAN page for it.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Try
Code:
net status shares
and/or
Code:
net status sessions
. That may not be as fine grained as you want.

That's for CIFS/SMB shares.
 

DAXQ

Contributor
Joined
Sep 5, 2014
Messages
106
Brilliant, that will work just fine. Thanks a ton!
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Brilliant, that will work just fine. Thanks a ton!
It is my pleasure to assist you sir, and proactively leverage diversity throughout the extended enterprise.
 
Status
Not open for further replies.
Top