| 1 | '\" t
|
|---|
| 2 | .\" Title: smbstatus
|
|---|
| 3 | .\" Author: [see the "AUTHOR" section]
|
|---|
| 4 | .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
|
|---|
| 5 | .\" Date: 10/25/2016
|
|---|
| 6 | .\" Manual: User Commands
|
|---|
| 7 | .\" Source: Samba 4.4
|
|---|
| 8 | .\" Language: English
|
|---|
| 9 | .\"
|
|---|
| 10 | .TH "SMBSTATUS" "1" "10/25/2016" "Samba 4\&.4" "User Commands"
|
|---|
| 11 | .\" -----------------------------------------------------------------
|
|---|
| 12 | .\" * Define some portability stuff
|
|---|
| 13 | .\" -----------------------------------------------------------------
|
|---|
| 14 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|---|
| 15 | .\" http://bugs.debian.org/507673
|
|---|
| 16 | .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
|---|
| 17 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|---|
| 18 | .ie \n(.g .ds Aq \(aq
|
|---|
| 19 | .el .ds Aq '
|
|---|
| 20 | .\" -----------------------------------------------------------------
|
|---|
| 21 | .\" * set default formatting
|
|---|
| 22 | .\" -----------------------------------------------------------------
|
|---|
| 23 | .\" disable hyphenation
|
|---|
| 24 | .nh
|
|---|
| 25 | .\" disable justification (adjust text to left margin only)
|
|---|
| 26 | .ad l
|
|---|
| 27 | .\" -----------------------------------------------------------------
|
|---|
| 28 | .\" * MAIN CONTENT STARTS HERE *
|
|---|
| 29 | .\" -----------------------------------------------------------------
|
|---|
| 30 | .SH "NAME"
|
|---|
| 31 | smbstatus \- report on current Samba connections
|
|---|
| 32 | .SH "SYNOPSIS"
|
|---|
| 33 | .HP \w'\ 'u
|
|---|
| 34 | smbstatus [\-P] [\-b] [\-d\ <debug\ level>] [\-v] [\-L] [\-B] [\-p] [\-S] [\-N] [\-f] [\-s\ <configuration\ file>] [\-u\ <username>] [\-n|\-\-numeric] [\-R|\-\-profile\-rates]
|
|---|
| 35 | .SH "DESCRIPTION"
|
|---|
| 36 | .PP
|
|---|
| 37 | This tool is part of the
|
|---|
| 38 | \fBsamba\fR(7)
|
|---|
| 39 | suite\&.
|
|---|
| 40 | .PP
|
|---|
| 41 | smbstatus
|
|---|
| 42 | is a very simple program to list the current Samba connections\&.
|
|---|
| 43 | .SH "OPTIONS"
|
|---|
| 44 | .PP
|
|---|
| 45 | \-P|\-\-profile
|
|---|
| 46 | .RS 4
|
|---|
| 47 | If samba has been compiled with the profiling option, print only the contents of the profiling shared memory area\&.
|
|---|
| 48 | .RE
|
|---|
| 49 | .PP
|
|---|
| 50 | \-R|\-\-profile\-rates
|
|---|
| 51 | .RS 4
|
|---|
| 52 | If samba has been compiled with the profiling option, print the contents of the profiling shared memory area and the call rates\&.
|
|---|
| 53 | .RE
|
|---|
| 54 | .PP
|
|---|
| 55 | \-b|\-\-brief
|
|---|
| 56 | .RS 4
|
|---|
| 57 | gives brief output\&.
|
|---|
| 58 | .RE
|
|---|
| 59 | .PP
|
|---|
| 60 | \-v|\-\-verbose
|
|---|
| 61 | .RS 4
|
|---|
| 62 | gives verbose output\&.
|
|---|
| 63 | .RE
|
|---|
| 64 | .PP
|
|---|
| 65 | \-L|\-\-locks
|
|---|
| 66 | .RS 4
|
|---|
| 67 | causes smbstatus to only list locks\&.
|
|---|
| 68 | .RE
|
|---|
| 69 | .PP
|
|---|
| 70 | \-B|\-\-byterange
|
|---|
| 71 | .RS 4
|
|---|
| 72 | causes smbstatus to include byte range locks\&.
|
|---|
| 73 | .RE
|
|---|
| 74 | .PP
|
|---|
| 75 | \-p|\-\-processes
|
|---|
| 76 | .RS 4
|
|---|
| 77 | print a list of
|
|---|
| 78 | \fBsmbd\fR(8)
|
|---|
| 79 | processes and exit\&. Useful for scripting\&.
|
|---|
| 80 | .RE
|
|---|
| 81 | .PP
|
|---|
| 82 | \-S|\-\-shares
|
|---|
| 83 | .RS 4
|
|---|
| 84 | causes smbstatus to only list shares\&.
|
|---|
| 85 | .RE
|
|---|
| 86 | .PP
|
|---|
| 87 | \-N|\-\-notify
|
|---|
| 88 | .RS 4
|
|---|
| 89 | causes smbstatus to display registered file notifications
|
|---|
| 90 | .RE
|
|---|
| 91 | .PP
|
|---|
| 92 | \-f|\-\-fast
|
|---|
| 93 | .RS 4
|
|---|
| 94 | causes smbstatus to not check if the status data is valid by checking if the processes that the status data refer to all still exist\&. This speeds up execution on busy systems and clusters but might display stale data of processes that died without cleaning up properly\&.
|
|---|
| 95 | .RE
|
|---|
| 96 | .PP
|
|---|
| 97 | \-u|\-\-user=<username>
|
|---|
| 98 | .RS 4
|
|---|
| 99 | selects information relevant to
|
|---|
| 100 | \fIusername\fR
|
|---|
| 101 | only\&.
|
|---|
| 102 | .RE
|
|---|
| 103 | .PP
|
|---|
| 104 | \-n|\-\-numeric
|
|---|
| 105 | .RS 4
|
|---|
| 106 | causes smbstatus to display numeric UIDs and GIDs instead of resolving them to names\&.
|
|---|
| 107 | .RE
|
|---|
| 108 | .SH "VERSION"
|
|---|
| 109 | .PP
|
|---|
| 110 | This man page is correct for version 3 of the Samba suite\&.
|
|---|
| 111 | .SH "SEE ALSO"
|
|---|
|
|---|