On Mon, Jul 25, 2011 at 10:21:35PM +0200, Malte Forkel wrote: > Hi, > > I'm running Samba 3.2.5 on a server which I'd like to shut down when it > is not used by any client. > > Is there a way to detect whether any user has opened a file on the server? smbstatus will tell you.