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

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

in

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

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 2 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

F

Reply

2 Anbarasu March 12, 2013 at 10:58 am

Hi,

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

Reply

Leave a Comment

Tagged as:

Previous Faq:

Next Faq: