SAMBA shares monitoring

index

To monitor SAMBA shares at high level we can use following commands.

# net domain
Enter root’s password:

Enumerating domains:

Domain name          Server name of Browse Master
————-        —————————-
MSHOME               XXXXX-B4F69308
NAME                 SRVNAME
WFC                   PC-NAME
WORKGROUP           NAME-SRV

#smbstatus

Samba version 4.1.17-Debian
PID     Username      Group         Machine
——————————————————————-

Service      pid     machine       Connected at
——————————————————-

Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
No locked files

#net status shares

Service      pid     machine       Connected at
——————————————————-

#net status sessions

PID     Username      Group         Machine
——————————————————————-

Advertisements