Is there a utility that I can run from a terminal that will show who is connected to a SAMBA server? Even better if they have any files open?
Printable View
Is there a utility that I can run from a terminal that will show who is connected to a SAMBA server? Even better if they have any files open?
smbstatus
smbstatus -b just gives the PID and such, eg
vs smbstatus without the -bCode:
Samba version 3.0.21b
PID Username Group Machine
-------------------------------------------------------------------
72412 lmetz lmetz testlaptop (192.168.4.55)
Code:Samba version 3.0.21b
PID Username Group Machine
-------------------------------------------------------------------
72412 lmetz lmetz testlaptop (192.168.4.55)
Service pid machine Connected at
-------------------------------------------------------
POWS 72412 testlaptop Fri Mar 17 09:15:05 2006
IPC$ 900 astral Tue Mar 7 09:24:50 2006
IPC$ 72462 astralbdc Fri Mar 17 09:19:16 2006