1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00

Updates smbstatus to have a -S and -L flag.

Also updated the documentation :-)

The code is ugly, we need to rewrite smbstatus someday.
This commit is contained in:
Richard Sharpe
-
parent 80080abf77
commit a2a9f55a76
2 changed files with 106 additions and 72 deletions

View File

@ -8,10 +8,17 @@ smbstatus \- report on current Samba connections
] [
.B \-d
] [
.B \-L
] [
.B \-p
] [
.B \-S
] [
.B \-s
.I configuration file
] [
.b \-u
.i username
]
.SH DESCRIPTION
This program is part of the Samba suite.
@ -27,21 +34,30 @@ gives brief output.
.B \-d
gives verbose output.
.B \-L
causes smbstatus to only list locks.
.B \-p
print a list of
.B smbd
processes and exit. Useful for scripting.
.B \-S
causes smbstatus to only list shares.
.B \-s
.I configuration file
.RS 3
The default configuration file name is determined at compile time.
The file specified contains the configuration details required by the server.
See
.BR smb.conf (5)
for more information.
.B \-u
.I username
selects information relevant to .B username only.
.RE
.SH ENVIRONMENT VARIABLES
Not applicable.