client.c: New print queue query code from Jeff C. Foster " <jfoste@wgc.woodward...
[jelmer/samba4.git] / docs / manpages / smbstatus.1
index 76dc50cbb538e8fe46a2a96fb239d997bf20539c..e59f815b78b2a04b36b653a0183c2bfefa9dd1ef 100644 (file)
@@ -1,41 +1,58 @@
-.TH SMBSTATUS 1 17/1/1995 smbstatus smbstatus
+.TH SMBSTATUS 1 smbstatus smbstatus
 .SH NAME
 smbstatus \- report on current Samba connections
 .SH SYNOPSIS
 .B smbstatus
-[-d]
-[-s
+[
+.B \-b
+] [
+.B \-d
+] [
+.B \-p
+] [
+.B \-s
 .I configuration file
 ]
 .SH DESCRIPTION
 This program is part of the Samba suite.
 
 .B smbstatus
-is a very simple program to list the current Samba connections
+is a very simple program to list the current Samba connections.
 
-Just run the program and the output is self explanatory. You can offer
-a configuration filename to override the default. The default is
-CONFIGFILE from the Makefile.
+Just run the program and the output is self explanatory.
+.SH OPTIONS
+.B \-b
+gives brief output.
 
-Option
-.I -d
+.B \-d
 gives verbose output.
 
-.I -p
-print a list of smbd processes and exit. Useful for scripting.
+.B \-p
+print a list of
+.B smbd
+processes and exit. Useful for scripting.
 
+.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.
+.RE
 .SH ENVIRONMENT VARIABLES
 Not applicable.
-
 .SH INSTALLATION
 The location of the server and its support files is a matter for individual
 system administrators. The following are thus suggestions only.
 
 It is recommended that the
 .B smbstatus
-program be installed under the /usr/local hierarchy, in a directory readable
+program be installed under the /usr/local/samba hierarchy, in a directory readable
 by all, writeable only by root. The program itself should be executable by all.
-
 .SH VERSION
 This man page is (mostly) correct for version 1.9.00 of the Samba suite, plus some
 of the recent patches to it. These notes will necessarily lag behind 
@@ -44,9 +61,10 @@ the program has extensions or parameter semantics that differ from or are not
 covered by this man page. Please notify these to the address below for 
 rectification.
 .SH SEE ALSO
-.B smb.conf(5),
-.B smbd(8)
+.BR smb.conf (5),
+.BR smbd (8)
 
 See
-.B smb.conf(5) for a full list of contributors and details on how to 
+.BR smb.conf (5)
+for a full list of contributors and details on how to 
 submit bug reports, comments etc.