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>
8 <refmiscinfo class="source">Samba</refmiscinfo>
9 <refmiscinfo class="manual">User Commands</refmiscinfo>
10 <refmiscinfo class="version">&doc.version;</refmiscinfo>
15 <refname>smbstatus</refname>
16 <refpurpose>report on current Samba connections</refpurpose>
21 <command>smbstatus</command>
22 <arg choice="opt">-P</arg>
23 <arg choice="opt">-b</arg>
24 <arg choice="opt">-d <debug level></arg>
25 <arg choice="opt">-v</arg>
26 <arg choice="opt">-L</arg>
27 <arg choice="opt">-B</arg>
28 <arg choice="opt">-p</arg>
29 <arg choice="opt">-S</arg>
30 <arg choice="opt">-N</arg>
31 <arg choice="opt">-f</arg>
32 <arg choice="opt">-s <configuration file></arg>
33 <arg choice="opt">-u <username></arg>
34 <arg choice="opt">-n|--numeric</arg>
35 <arg choice="opt">-R|--profile-rates</arg>
40 <title>DESCRIPTION</title>
42 <para>This tool is part of the <citerefentry><refentrytitle>samba</refentrytitle>
43 <manvolnum>7</manvolnum></citerefentry> suite.</para>
45 <para><command>smbstatus</command> is a very simple program to
46 list the current Samba connections.</para>
50 <title>OPTIONS</title>
54 <term>-P|--profile</term>
55 <listitem><para>If samba has been compiled with the
56 profiling option, print only the contents of the profiling
57 shared memory area.</para></listitem>
61 <term>-R|--profile-rates</term>
62 <listitem><para>If samba has been compiled with the
63 profiling option, print the contents of the profiling
64 shared memory area and the call rates.</para></listitem>
68 <term>-b|--brief</term>
69 <listitem><para>gives brief output.</para></listitem>
76 <term>-v|--verbose</term>
77 <listitem><para>gives verbose output.</para></listitem>
82 <term>-L|--locks</term>
83 <listitem><para>causes smbstatus to only list locks.</para>
89 <term>-B|--byterange</term>
90 <listitem><para>causes smbstatus to include byte range locks.
96 <term>-p|--processes</term>
97 <listitem><para>print a list of <citerefentry><refentrytitle>smbd</refentrytitle>
98 <manvolnum>8</manvolnum></citerefentry> processes and exit.
99 Useful for scripting.</para></listitem>
104 <term>-S|--shares</term>
105 <listitem><para>causes smbstatus to only list shares.</para>
110 <term>-N|--notify</term>
111 <listitem><para>causes smbstatus to display registered file
117 <term>-f|--fast</term>
118 <listitem><para>causes smbstatus to not check if the status data
119 is valid by checking if the processes that the status data refer to all still
120 exist. This speeds up execution on busy systems and clusters but
121 might display stale data of processes that died without cleaning up properly.</para>
128 <term>-u|--user=<username></term>
129 <listitem><para>selects information relevant to <parameter>username</parameter> only.</para>
134 <term>-n|--numeric</term>
135 <listitem><para>causes smbstatus to display numeric UIDs and GIDs instead of
136 resolving them to names.</para>
144 <title>VERSION</title>
146 <para>This man page is part of version &doc.version; of
147 the Samba suite.</para>
151 <title>SEE ALSO</title>
152 <para><citerefentry><refentrytitle>smbd</refentrytitle>
153 <manvolnum>8</manvolnum></citerefentry> and <citerefentry><refentrytitle>smb.conf</refentrytitle>
154 <manvolnum>5</manvolnum></citerefentry>.</para>
158 <title>AUTHOR</title>
160 <para>The original Samba software and related utilities
161 were created by Andrew Tridgell. Samba is now developed
162 by the Samba Team as an Open Source project similar
163 to the way the Linux kernel is developed.</para>