1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="smbstatus.1">
6 <refentrytitle>smbstatus</refentrytitle>
7 <manvolnum>1</manvolnum>
12 <refname>smbstatus</refname>
13 <refpurpose>report on current Samba connections</refpurpose>
18 <command>smbstatus</command>
19 <arg choice="opt">-P</arg>
20 <arg choice="opt">-b</arg>
21 <arg choice="opt">-d <debug level></arg>
22 <arg choice="opt">-v</arg>
23 <arg choice="opt">-L</arg>
24 <arg choice="opt">-B</arg>
25 <arg choice="opt">-p</arg>
26 <arg choice="opt">-S</arg>
27 <arg choice="opt">-s <configuration file></arg>
28 <arg choice="opt">-u <username></arg>
33 <title>DESCRIPTION</title>
35 <para>This tool is part of the <citerefentry><refentrytitle>samba</refentrytitle>
36 <manvolnum>7</manvolnum></citerefentry> suite.</para>
38 <para><command>smbstatus</command> is a very simple program to
39 list the current Samba connections.</para>
43 <title>OPTIONS</title>
47 <term>-P|--profile</term>
48 <listitem><para>If samba has been compiled with the
49 profiling option, print only the contents of the profiling
50 shared memory area.</para></listitem>
54 <term>-b|--brief</term>
55 <listitem><para>gives brief output.</para></listitem>
62 <term>-v|--verbose</term>
63 <listitem><para>gives verbose output.</para></listitem>
68 <term>-L|--locks</term>
69 <listitem><para>causes smbstatus to only list locks.</para>
75 <term>-B|--byterange</term>
76 <listitem><para>causes smbstatus to include byte range locks.
82 <term>-p|--processes</term>
83 <listitem><para>print a list of <citerefentry><refentrytitle>smbd</refentrytitle>
84 <manvolnum>8</manvolnum></citerefentry> processes and exit.
85 Useful for scripting.</para></listitem>
90 <term>-S|--shares</term>
91 <listitem><para>causes smbstatus to only list shares.</para>
98 <term>-u|--user=<username></term>
99 <listitem><para>selects information relevant to <parameter>username</parameter> only.</para>
107 <title>VERSION</title>
109 <para>This man page is correct for version 3.0 of
110 the Samba suite.</para>
114 <title>SEE ALSO</title>
115 <para><citerefentry><refentrytitle>smbd</refentrytitle>
116 <manvolnum>8</manvolnum></citerefentry> and <citerefentry><refentrytitle>smb.conf</refentrytitle>
117 <manvolnum>5</manvolnum></citerefentry>.</para>
121 <title>AUTHOR</title>
123 <para>The original Samba software and related utilities
124 were created by Andrew Tridgell. Samba is now developed
125 by the Samba Team as an Open Source project similar
126 to the way the Linux kernel is developed.</para>
128 <para>The original Samba man pages were written by Karl Auer.
129 The man page sources were converted to YODL format (another
130 excellent piece of Open Source software, available at <ulink url="ftp://ftp.icce.rug.nl/pub/unix/">
131 ftp://ftp.icce.rug.nl/pub/unix/</ulink>) and updated for the Samba 2.0
132 release by Jeremy Allison. The conversion to DocBook for
133 Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2
134 for Samba 3.0 was done by Alexander Bokovoy.</para>