How to find out what samba version is running and the status of the samba daemons

Article:TECH9222  |  Created: 2000-01-12  |  Updated: 2004-01-21  |  Article URL http://www.symantec.com/docs/TECH9222
Article Type
Technical Solution

Environment

Issue



How to find out what samba version is running and the status of the samba daemons

Solution



Use the smbstatus command:

# smbstatus
Samba version 2.0.4
Service uid gid pid machine
----------------------------------------------
network davecb davecb 7470 phoenix (192.168.220.101)
network davecb davecb 7589 chimaera (192.168.220.102)
Locked files:
Pid DenyMode R/W Oplock Name
--------------------------------------------------
7589 DENY_NONE RDONLY EXCLUSIVE+BATCH /home/samba/quicken/inet/common/system/help.bmp
7470 DENY_WRITE RDONLY NONE /home/samba/word/office/findfast.exe
7589 DENY_WRITE RDONLY EXCLUSIVE+BATCH /home/samba/quicken/lfbmp70n.dll
7589 DENY_WRITE RDWR EXCLUSIVE+BATCH /home/samba/quicken/inet/qdata/
7470 DENY_WRITE RDONLY EXCLUSIVE+BATCH /home/samba/word/office/osa.exe
7589 DENY_WRITE RDONLY NONE /home/samba/quicken/qversion.dll


Legacy ID



233355


Article URL http://www.symantec.com/docs/TECH9222


Terms of use for this information are found in Legal Notices