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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s