smbstatus
smbstatus is a very simple program to list the current Samba connections.[1]
Documentation
- man 1 'smbstatus' [EN]
Syntax
smbstatus [PARAMETER ...]
Parameters
- -b, --brief
- Gives brief output.
- -f, --fast
- Causes smbstatus to not check if the status data is valid by checking if the processes that the status data refer to all still exist. This speeds up execution on busy systems and clusters but might display stale data of processes that died without cleaning up properly.
- -s FILE, --configfile=FILE
- The FILE specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide.
- -S, --shares
- Causes smbstatus to only list shares.
- -u USER, --user=USER
- Selects information relevant to USER only.
References
- ↑ man 1 'smbstatus'