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

NAME

6       smbstatus - report on current Samba connections
7

SYNOPSIS

9       smbstatus [-P] [-b] [-d <debug level>] [-v] [-L] [-B] [-p] [-S] [-N]
10        [-f] [-s <configuration file>] [-u <username>] [-n|--numeric]
11        [-R|--profile-rates]
12

DESCRIPTION

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

OPTIONS

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

VERSION

106       This man page is part of version 4.9.1 of the Samba suite.
107

SEE ALSO

109       smbd(8) and smb.conf(5).
110

AUTHOR

112       The original Samba software and related utilities were created by
113       Andrew Tridgell. Samba is now developed by the Samba Team as an Open
114       Source project similar to the way the Linux kernel is developed.
115
116
117
118Samba 4.9.1                       05/11/2019                      SMBSTATUS(1)
Impressum