Find the answer to your Linux question:
Results 1 to 2 of 2
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?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Location
    Tennessee
    Posts
    40

    Who is connected SAMBA?


    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?

  2. #2
    Just Joined! scottro's Avatar
    Join Date
    Feb 2006
    Posts
    57
    smbstatus

    smbstatus -b just gives the PID and such, eg

    Code:
    Samba version 3.0.21b
    PID     Username      Group         Machine                        
    -------------------------------------------------------------------
    72412   lmetz         lmetz         testlaptop   (192.168.4.55)
    vs smbstatus without the -b
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •