[217] | 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">
|
---|
| 4 |
|
---|
| 5 | <refmeta>
|
---|
| 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">3.3</refmiscinfo>
|
---|
| 11 | </refmeta>
|
---|
| 12 |
|
---|
| 13 |
|
---|
| 14 | <refnamediv>
|
---|
| 15 | <refname>smbstatus</refname>
|
---|
| 16 | <refpurpose>report on current Samba connections</refpurpose>
|
---|
| 17 | </refnamediv>
|
---|
| 18 |
|
---|
| 19 | <refsynopsisdiv>
|
---|
| 20 | <cmdsynopsis>
|
---|
| 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">-s <configuration file></arg>
|
---|
| 31 | <arg choice="opt">-u <username></arg>
|
---|
| 32 | </cmdsynopsis>
|
---|
| 33 | </refsynopsisdiv>
|
---|
| 34 |
|
---|
| 35 | <refsect1>
|
---|
| 36 | <title>DESCRIPTION</title>
|
---|
| 37 |
|
---|
| 38 | <para>This tool is part of the <citerefentry><refentrytitle>samba</refentrytitle>
|
---|
| 39 | <manvolnum>7</manvolnum></citerefentry> suite.</para>
|
---|
| 40 |
|
---|
| 41 | <para><command>smbstatus</command> is a very simple program to
|
---|
| 42 | list the current Samba connections.</para>
|
---|
| 43 | </refsect1>
|
---|
| 44 |
|
---|
| 45 | <refsect1>
|
---|
| 46 | <title>OPTIONS</title>
|
---|
| 47 |
|
---|
| 48 | <variablelist>
|
---|
| 49 | <varlistentry>
|
---|
| 50 | <term>-P|--profile</term>
|
---|
| 51 | <listitem><para>If samba has been compiled with the
|
---|
| 52 | profiling option, print only the contents of the profiling
|
---|
| 53 | shared memory area.</para></listitem>
|
---|
| 54 | </varlistentry>
|
---|
| 55 |
|
---|
| 56 | <varlistentry>
|
---|
| 57 | <term>-b|--brief</term>
|
---|
| 58 | <listitem><para>gives brief output.</para></listitem>
|
---|
| 59 | </varlistentry>
|
---|
| 60 |
|
---|
| 61 | &stdarg.server.debug;
|
---|
| 62 | &popt.common.samba;
|
---|
| 63 |
|
---|
| 64 | <varlistentry>
|
---|
| 65 | <term>-v|--verbose</term>
|
---|
| 66 | <listitem><para>gives verbose output.</para></listitem>
|
---|
| 67 | </varlistentry>
|
---|
| 68 |
|
---|
| 69 |
|
---|
| 70 | <varlistentry>
|
---|
| 71 | <term>-L|--locks</term>
|
---|
| 72 | <listitem><para>causes smbstatus to only list locks.</para>
|
---|
| 73 | </listitem>
|
---|
| 74 | </varlistentry>
|
---|
| 75 |
|
---|
| 76 |
|
---|
| 77 | <varlistentry>
|
---|
| 78 | <term>-B|--byterange</term>
|
---|
| 79 | <listitem><para>causes smbstatus to include byte range locks.
|
---|
| 80 | </para></listitem>
|
---|
| 81 | </varlistentry>
|
---|
| 82 |
|
---|
| 83 |
|
---|
| 84 | <varlistentry>
|
---|
| 85 | <term>-p|--processes</term>
|
---|
| 86 | <listitem><para>print a list of <citerefentry><refentrytitle>smbd</refentrytitle>
|
---|
| 87 | <manvolnum>8</manvolnum></citerefentry> processes and exit.
|
---|
| 88 | Useful for scripting.</para></listitem>
|
---|
| 89 | </varlistentry>
|
---|
| 90 |
|
---|
| 91 |
|
---|
| 92 | <varlistentry>
|
---|
| 93 | <term>-S|--shares</term>
|
---|
| 94 | <listitem><para>causes smbstatus to only list shares.</para>
|
---|
| 95 | </listitem>
|
---|
| 96 | </varlistentry>
|
---|
| 97 |
|
---|
| 98 | &stdarg.help;
|
---|
| 99 |
|
---|
| 100 | <varlistentry>
|
---|
| 101 | <term>-u|--user=<username></term>
|
---|
| 102 | <listitem><para>selects information relevant to <parameter>username</parameter> only.</para>
|
---|
| 103 | </listitem>
|
---|
| 104 | </varlistentry>
|
---|
| 105 |
|
---|
| 106 | </variablelist>
|
---|
| 107 | </refsect1>
|
---|
| 108 |
|
---|
| 109 | <refsect1>
|
---|
| 110 | <title>VERSION</title>
|
---|
| 111 |
|
---|
| 112 | <para>This man page is correct for version 3 of
|
---|
| 113 | the Samba suite.</para>
|
---|
| 114 | </refsect1>
|
---|
| 115 |
|
---|
| 116 | <refsect1>
|
---|
| 117 | <title>SEE ALSO</title>
|
---|
| 118 | <para><citerefentry><refentrytitle>smbd</refentrytitle>
|
---|
| 119 | <manvolnum>8</manvolnum></citerefentry> and <citerefentry><refentrytitle>smb.conf</refentrytitle>
|
---|
| 120 | <manvolnum>5</manvolnum></citerefentry>.</para>
|
---|
| 121 | </refsect1>
|
---|
| 122 |
|
---|
| 123 | <refsect1>
|
---|
| 124 | <title>AUTHOR</title>
|
---|
| 125 |
|
---|
| 126 | <para>The original Samba software and related utilities
|
---|
| 127 | were created by Andrew Tridgell. Samba is now developed
|
---|
| 128 | by the Samba Team as an Open Source project similar
|
---|
| 129 | to the way the Linux kernel is developed.</para>
|
---|
| 130 |
|
---|
| 131 | <para>The original Samba man pages were written by Karl Auer.
|
---|
| 132 | The man page sources were converted to YODL format (another
|
---|
| 133 | excellent piece of Open Source software, available at <ulink url="ftp://ftp.icce.rug.nl/pub/unix/">
|
---|
| 134 | ftp://ftp.icce.rug.nl/pub/unix/</ulink>) and updated for the Samba 2.0
|
---|
| 135 | release by Jeremy Allison. The conversion to DocBook for
|
---|
| 136 | Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2
|
---|
| 137 | for Samba 3.0 was done by Alexander Bokovoy.</para>
|
---|
| 138 | </refsect1>
|
---|
| 139 |
|
---|
| 140 | </refentry>
|
---|