Give the smbstatus a try. This is my output.
[donald@oahu donald]$ smbstatus
Samba version 2.2.3a
Service uid gid pid machine
----------------------------------------------
public donald donald 1377 hawaii (192.168.1.102) Mon Mar 18
21:58:06 2002
donald donald donald 1377 hawaii (192.168.1.102) Tue Mar 19
16:36:35 2002
Locked files:
Pid DenyMode R/W Oplock Name
--------------------------------------------------
1377 DENY_WRITE RDWR EXCLUSIVE+BATCH
/home/donald/Outlook/outlook.pst Tue Mar 19 16:36:35 2002
1377 DENY_WRITE RDWR EXCLUSIVE+BATCH
/home/donald/Outlook/BAH-arch.pst Tue Mar 19 16:36:35 2002
[donald@oahu donald]$
-----Original Message-----
From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]On
Behalf Of Suleyman KURAN
Sent: Tuesday, March 19, 2002 11:31 AM
To: Samba Mailing List
Subject: [Samba] Which files are open?
Hi,
is there a way to see which files are open for write/read by
smbd. There a hundreds of users in the network so i want to make sure
nobody loses unsaved work in case i gotto restart smbd or winbindd. In
gtop i can see some smbd processes are owned by DOMAIN\username, but they
return to be owned by root again after a few seconds even if the files are
probably open for read/write.
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba