[Samba] How to detect active users

Jeremy Allison jra at samba.org
Mon Jul 25 14:44:55 MDT 2011

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.

More information about the samba mailing list