≡ Menu

How do I find the current connections to a Samba server?

Samba is a free software implementation of Microsoft's networking system. Samba provides file and print services for various Microsoft Windows clients, it can integrate with a Windows Server domain, either as a Primary Domain Controller (PDC) or as a Domain Member. It can also be part of an Active Directory domain.

You need to use smbstatus command, which report on current Samba connections. It is a very simple program to list the current Samba connections. In order to display current connection just type command:

$ smbstatus

Display more/detailed information:

$ smbstatus -b

Display verbose output:

$ smbstatus -v

Display only list of shares:

$ smbstatus -s

{ 3 comments… add one }

  • farshid November 28, 2012, 10:25 am

    smbstatus -b does not show detailed info, but brief info


  • Anbarasu March 12, 2013, 10:58 am


    Is there a way to monitor particular samba share and its CPU,memory utilization ..

  • dileep July 8, 2014, 6:32 am

    How can i enable the samba logs so can i check the each users logs that accessing my samba share folders?

Leave a Comment

   Tagged with: