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|--processes</arg>
23 <arg choice="opt">-v|--verbose</arg>
24 <arg choice="opt">-L|--locks</arg>
25 <arg choice="opt">-S|--shares</arg>
26 <arg choice="opt">-N|--notify</arg>
27 <arg choice="opt">-u|--user=STRING</arg>
28 <arg choice="opt">-b|--brief</arg>
29 <arg choice="opt">-P|--profile</arg>
30 <arg choice="opt">-R|--profile-rates</arg>
31 <arg choice="opt">-B|--byterange</arg>
32 <arg choice="opt">-n|--numeric</arg>
33 <arg choice="opt">-f|--fast</arg>
34 <arg choice="opt">--resolve-uids</arg>
35 <arg choice="opt">-?|--help</arg>
36 <arg choice="opt">--usage</arg>
37 <arg choice="opt">-d|--debuglevel=DEBUGLEVEL</arg>
38 <arg choice="opt">--debug-stdout</arg>
39 <arg choice="opt">--configfile=CONFIGFILE</arg>
40 <arg choice="opt">--option=name=value</arg>
41 <arg choice="opt">-l|--log-basename=LOGFILEBASE</arg>
42 <arg choice="opt">--leak-report</arg>
43 <arg choice="opt">--leak-report-full</arg>
48 <title>DESCRIPTION</title>
50 <para>This tool is part of the <citerefentry><refentrytitle>samba</refentrytitle>
51 <manvolnum>7</manvolnum></citerefentry> suite.</para>
53 <para><command>smbstatus</command> is a very simple program to
54 list the current Samba connections.</para>
58 <title>OPTIONS</title>
62 <term>-P|--profile</term>
63 <listitem><para>If samba has been compiled with the
64 profiling option, print only the contents of the profiling
65 shared memory area.</para></listitem>
69 <term>-R|--profile-rates</term>
70 <listitem><para>If samba has been compiled with the
71 profiling option, print the contents of the profiling
72 shared memory area and the call rates.</para></listitem>
76 <term>-b|--brief</term>
77 <listitem><para>gives brief output.</para></listitem>
81 <term>-v|--verbose</term>
82 <listitem><para>gives verbose output.</para></listitem>
86 <term>-L|--locks</term>
87 <listitem><para>causes smbstatus to only list locks.</para>
92 <term>-B|--byterange</term>
93 <listitem><para>causes smbstatus to include byte range locks.
98 <term>-p|--processes</term>
99 <listitem><para>print a list of <citerefentry><refentrytitle>smbd</refentrytitle>
100 <manvolnum>8</manvolnum></citerefentry> processes and exit.
101 Useful for scripting.</para></listitem>
105 <term>-S|--shares</term>
106 <listitem><para>causes smbstatus to only list shares.</para>
111 <term>-N|--notify</term>
112 <listitem><para>causes smbstatus to display registered file
118 <term>-f|--fast</term>
119 <listitem><para>causes smbstatus to not check if the status data
120 is valid by checking if the processes that the status data refer to all still
121 exist. This speeds up execution on busy systems and clusters but
122 might display stale data of processes that died without cleaning up properly.</para>
127 <term>-u|--user=<username></term>
128 <listitem><para>selects information relevant to <parameter>username</parameter> only.</para>
133 <term>-n|--numeric</term>
134 <listitem><para>causes smbstatus to display numeric UIDs and GIDs instead of
135 resolving them to names.</para>
140 &cmdline.common.samba.client;
145 <title>VERSION</title>
147 <para>This man page is part of version &doc.version; of
148 the Samba suite.</para>
152 <title>SEE ALSO</title>
153 <para><citerefentry><refentrytitle>smbd</refentrytitle>
154 <manvolnum>8</manvolnum></citerefentry> and <citerefentry><refentrytitle>smb.conf</refentrytitle>
155 <manvolnum>5</manvolnum></citerefentry>.</para>
159 <title>AUTHOR</title>
161 <para>The original Samba software and related utilities
162 were created by Andrew Tridgell. Samba is now developed
163 by the Samba Team as an Open Source project similar
164 to the way the Linux kernel is developed.</para>