1SMBSTATUS(1)                     User Commands                    SMBSTATUS(1)
2
3
4

NAME

6       smbstatus - report on current Samba connections
7

SYNOPSIS

9       smbstatus [-p|--processes] [-v|--verbose] [-L|--locks] [-S|--shares]
10        [-N|--notify] [-u|--user=STRING] [-b|--brief] [-P|--profile]
11        [-R|--profile-rates] [-B|--byterange] [-n|--numeric] [-f|--fast]
12        [--resolve-uids] [-?|--help] [--usage] [-d|--debuglevel=DEBUGLEVEL]
13        [--debug-stdout] [--configfile=CONFIGFILE] [--option=name=value]
14        [-l|--log-basename=LOGFILEBASE] [--leak-report] [--leak-report-full]
15

DESCRIPTION

17       This tool is part of the samba(7) suite.
18
19       smbstatus is a very simple program to list the current Samba
20       connections.
21

OPTIONS

23       -P|--profile
24           If samba has been compiled with the profiling option, print only
25           the contents of the profiling shared memory area.
26
27       -R|--profile-rates
28           If samba has been compiled with the profiling option, print the
29           contents of the profiling shared memory area and the call rates.
30
31       -b|--brief
32           gives brief output.
33
34       -v|--verbose
35           gives verbose output.
36
37       -L|--locks
38           causes smbstatus to only list locks.
39
40       -B|--byterange
41           causes smbstatus to include byte range locks.
42
43       -p|--processes
44           print a list of smbd(8) processes and exit. Useful for scripting.
45
46       -S|--shares
47           causes smbstatus to only list shares.
48
49       -N|--notify
50           causes smbstatus to display registered file notifications
51
52       -f|--fast
53           causes smbstatus to not check if the status data is valid by
54           checking if the processes that the status data refer to all still
55           exist. This speeds up execution on busy systems and clusters but
56           might display stale data of processes that died without cleaning up
57           properly.
58
59       -u|--user=<username>
60           selects information relevant to username only.
61
62       -n|--numeric
63           causes smbstatus to display numeric UIDs and GIDs instead of
64           resolving them to names.
65
66       -?|--help
67           Print a summary of command line options.
68
69       --usage
70           Display brief usage message.
71
72       -d|--debuglevel=DEBUGLEVEL
73           level is an integer from 0 to 10. The default value if this
74           parameter is not specified is 1 for client applications.
75
76           The higher this value, the more detail will be logged to the log
77           files about the activities of the server. At level 0, only critical
78           errors and serious warnings will be logged. Level 1 is a reasonable
79           level for day-to-day running - it generates a small amount of
80           information about operations carried out.
81
82           Levels above 1 will generate considerable amounts of log data, and
83           should only be used when investigating a problem. Levels above 3
84           are designed for use only by developers and generate HUGE amounts
85           of log data, most of which is extremely cryptic.
86
87           Note that specifying this parameter here will override the log
88           level parameter in the smb.conf file.
89
90       --debug-stdout
91           This will redirect debug output to STDOUT. By default all clients
92           are logging to STDERR.
93
94       --configfile=<configuration file>
95           The file specified contains the configuration details required by
96           the client. The information in this file can be general for client
97           and server or only provide client specific like options such as
98           client smb encrypt. See smb.conf for more information. The default
99           configuration file name is determined at compile time.
100
101       --option=<name>=<value>
102           Set the smb.conf(5) option "<name>" to value "<value>" from the
103           command line. This overrides compiled-in defaults and options read
104           from the configuration file. If a name or a value includes a space,
105           wrap whole --option=name=value into quotes.
106
107       -l|--log-basename=logdirectory
108           Base directory name for log/debug files. The extension ".progname"
109           will be appended (e.g. log.smbclient, log.smbd, etc...). The log
110           file is never removed by the client.
111
112       --leak-report
113           Enable talloc leak reporting on exit.
114
115       --leak-report-full
116           Enable full talloc leak reporting on exit.
117
118       -V|--version
119           Prints the program version number.
120

VERSION

122       This man page is part of version 4.16.2 of the Samba suite.
123

SEE ALSO

125       smbd(8) and smb.conf(5).
126

AUTHOR

128       The original Samba software and related utilities were created by
129       Andrew Tridgell. Samba is now developed by the Samba Team as an Open
130       Source project similar to the way the Linux kernel is developed.
131
132
133
134Samba 4.16.2                      06/13/2022                      SMBSTATUS(1)
Impressum