1SMBSTATUS(1)                                                      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  connec‐
16       tions.
17

OPTIONS

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

VERSION

83       This man page is correct for version 3.0 of the Samba suite.
84

SEE ALSO

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

AUTHOR

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