| [201] | 1 | .\" Title: smbstatus
|
|---|
| 2 | .\" Author:
|
|---|
| 3 | .\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
|
|---|
| 4 | .\" Date: 08/27/2008
|
|---|
| 5 | .\" Manual: User Commands
|
|---|
| 6 | .\" Source: Samba 3.2
|
|---|
| 7 | .\"
|
|---|
| 8 | .TH "SMBSTATUS" "1" "08/27/2008" "Samba 3\.2" "User Commands"
|
|---|
| 9 | .\" disable hyphenation
|
|---|
| 10 | .nh
|
|---|
| 11 | .\" disable justification (adjust text to left margin only)
|
|---|
| 12 | .ad l
|
|---|
| 13 | .SH "NAME"
|
|---|
| 14 | smbstatus - report on current Samba connections
|
|---|
| 15 | .SH "SYNOPSIS"
|
|---|
| 16 | .HP 1
|
|---|
| 17 | smbstatus [\-P] [\-b] [\-d\ <debug\ level>] [\-v] [\-L] [\-B] [\-p] [\-S] [\-s\ <configuration\ file>] [\-u\ <username>]
|
|---|
| 18 | .SH "DESCRIPTION"
|
|---|
| 19 | .PP
|
|---|
| 20 | This tool is part of the
|
|---|
| 21 | \fBsamba\fR(7)
|
|---|
| 22 | suite\.
|
|---|
| 23 | .PP
|
|---|
| 24 | smbstatus
|
|---|
| 25 | is a very simple program to list the current Samba connections\.
|
|---|
| 26 | .SH "OPTIONS"
|
|---|
| 27 | .PP
|
|---|
| 28 | \-P|\-\-profile
|
|---|
| 29 | .RS 4
|
|---|
| 30 | If samba has been compiled with the profiling option, print only the contents of the profiling shared memory area\.
|
|---|
| 31 | .RE
|
|---|
| 32 | .PP
|
|---|
| 33 | \-b|\-\-brief
|
|---|
| 34 | .RS 4
|
|---|
| 35 | gives brief output\.
|
|---|
| 36 | .RE
|
|---|
| 37 | .PP
|
|---|
| 38 | \-d|\-\-debuglevel=level
|
|---|
| 39 | .RS 4
|
|---|
| 40 | \fIlevel\fR
|
|---|
| 41 | is an integer from 0 to 10\. The default value if this parameter is not specified is 0\.
|
|---|
| 42 | .sp
|
|---|
| 43 | The higher this value, the more detail will be logged to the log files about the activities of the server\. At level 0, only critical errors and serious warnings will be logged\. Level 1 is a reasonable level for day\-to\-day running \- it generates a small amount of information about operations carried out\.
|
|---|
| 44 | .sp
|
|---|
| 45 | Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem\. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic\.
|
|---|
| 46 | .sp
|
|---|
| 47 | Note that specifying this parameter here will override the
|
|---|
| 48 | \fIlog level\fR
|
|---|
| 49 | parameter in the
|
|---|
| 50 | \fIsmb\.conf\fR
|
|---|
| 51 | file\.
|
|---|
| 52 | .RE
|
|---|
| 53 | .PP
|
|---|
| 54 | \-V
|
|---|
| 55 | .RS 4
|
|---|
| 56 | Prints the program version number\.
|
|---|
| 57 | .RE
|
|---|
| 58 | .PP
|
|---|
| 59 | \-s <configuration file>
|
|---|
| 60 | .RS 4
|
|---|
| 61 | 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\. See
|
|---|
| 62 | \fIsmb\.conf\fR
|
|---|
| 63 | for more information\. The default configuration file name is determined at compile time\.
|
|---|
| 64 | .RE
|
|---|
| 65 | .PP
|
|---|
| 66 | \-l|\-\-log\-basename=logdirectory
|
|---|
| 67 | .RS 4
|
|---|
| 68 | Base directory name for log/debug files\. The extension
|
|---|
| 69 | \fB"\.progname"\fR
|
|---|
| |
|---|