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]
10        [-s <configuration file>] [-u <username>]
11

DESCRIPTION

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

OPTIONS

19       -P|--profile
20           If samba has been compiled with the profiling option, print only
21           the contents of the profiling shared memory area.
22
23       -b|--brief
24           gives brief output.
25
26       -d|--debuglevel=level
27           level is an integer from 0 to 10. The default value if this
28           parameter is not specified is 0.
29
30           The higher this value, the more detail will be logged to the log
31           files about the activities of the server. At level 0, only critical
32           errors and serious warnings will be logged. Level 1 is a reasonable
33           level for day-to-day running - it generates a small amount of
34           information about operations carried out.
35
36           Levels above 1 will generate considerable amounts of log data, and
37           should only be used when investigating a problem. Levels above 3
38           are designed for use only by developers and generate HUGE amounts
39           of log data, most of which is extremely cryptic.
40
41           Note that specifying this parameter here will override the log
42           level parameter in the smb.conf file.
43
44       -V|--version
45           Prints the program version number.
46
47       -s|--configfile <configuration file>
48           The file specified contains the configuration details required by
49           the server. The information in this file includes server-specific
50           information such as what printcap file to use, as well as
51           descriptions of all the services that the server is to provide. See
52           smb.conf for more information. The default configuration file name
53           is determined at compile time.
54
55       -l|--log-basename=logdirectory
56           Base directory name for log/debug files. The extension ".progname"
57           will be appended (e.g. log.smbclient, log.smbd, etc...). The log
58           file is never removed by the client.
59
60       -v|--verbose
61           gives verbose output.
62
63       -L|--locks
64           causes smbstatus to only list locks.
65
66       -B|--byterange
67           causes smbstatus to include byte range locks.
68
69       -p|--processes
70           print a list of smbd(8) processes and exit. Useful for scripting.
71
72       -S|--shares
73           causes smbstatus to only list shares.
74
75       -?|--help
76           Print a summary of command line options.
77
78       -u|--user=<username>
79           selects information relevant to username only.
80

VERSION

82       This man page is correct for version 3 of the Samba suite.
83

SEE ALSO

85       smbd(8) and smb.conf(5).
86

AUTHOR

88       The original Samba software and related utilities were created by
89       Andrew Tridgell. Samba is now developed by the Samba Team as an Open
90       Source project similar to the way the Linux kernel is developed.
91
92       The original Samba man pages were written by Karl Auer. The man page
93       sources were converted to YODL format (another excellent piece of Open
94       Source software, available at ftp://ftp.icce.rug.nl/pub/unix/) and
95       updated for the Samba 2.0 release by Jeremy Allison. The conversion to
96       DocBook for Samba 2.2 was done by Gerald Carter. The conversion to
97       DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
98
99
100
101Samba 3.6                         04/11/2016                      SMBSTATUS(1)
Impressum