Linux.com

Re(2): A script to tell which workstations are using Samba shares

Posted by: Anonymous [ip: 216.136.60.243] on October 03, 2007 03:26 PM
smbstatus will tell you which files are in use as well (use smbstatus -L to just see locks). I wrote a perl script that matches the pid for the file in use back to the user. I use it all the time to see who is in certain access dbs on my samba server. I even wrote a php script to do it so you can access the info from our intranet.

#

Return to A script to tell which workstations are using Samba shares