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...