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

by on March 28, 2006 · 3 comments· LAST UPDATED March 28, 2006


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

Tweet itFacebook itG+ itDownload PDF versionFound an error/typo on this page?

{ 3 comments… read them below or add one }

1 farshid November 28, 2012 at 10:25 am

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



2 Anbarasu March 12, 2013 at 10:58 am


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


3 dileep July 8, 2014 at 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 as:

Previous Faq:

Next Faq: