How do i check which samba shares are being used?



  • To check which samba shares are being used and who is using them run the following command.

    In this case no one is using anything

    $ sudo smbstatus
    
    Samba version 4.2.10
    PID     Username      Group         Machine            Protocol Version       
    ------------------------------------------------------------------------------
    
    Service      pid     machine       Connected at
    -------------------------------------------------------
    
    No locked files
    

    -v option show the configuration file being used.



© Lightnetics 2024