Updated man docbook xml sources from man page source using doclifter.
[platform/upstream/dbus.git] / doc / dbus-cleanup-sockets.1.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3                    "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
4 <!-- lifted from troff+man by doclifter -->
5 <refentry id='dbuscleanupsockets1'>
6
7 <!--  dbus&bsol;-cleanup&bsol;-sockets manual page.
8  Copyright (C) 2003 Red Hat, Inc. -->
9
10 <refmeta>
11 <refentrytitle>dbus-cleanup-sockets</refentrytitle>
12 <manvolnum>1</manvolnum>
13 </refmeta>
14 <refnamediv>
15 <refname>dbus-cleanup-sockets</refname>
16 <refpurpose>clean up leftover sockets in a directory</refpurpose>
17 </refnamediv>
18 <!-- body begins here -->
19 <refsynopsisdiv id='synopsis'>
20 <cmdsynopsis>
21   <command>dbus-cleanup-sockets</command>    <arg choice='opt'><replaceable>DIRECTORY</replaceable></arg>
22     <sbr/>
23 </cmdsynopsis>
24 </refsynopsisdiv>
25
26
27 <refsect1 id='description'><title>DESCRIPTION</title>
28 <para>The <command>dbus-cleanup-sockets</command> command cleans up unused D-Bus
29 connection sockets. See <ulink url='http://www.freedesktop.org/software/dbus/'>http://www.freedesktop.org/software/dbus/</ulink> for
30 more information about the big picture.</para>
31
32
33 <para>If given no arguments, <command>dbus-cleanup-sockets</command> cleans up sockets 
34 in the standard default socket directory for the
35 per-user-login-session message bus; this is usually /tmp. 
36 Optionally, you can pass a different directory on the command line.</para>
37
38
39 <para>On Linux, this program is essentially useless, because D-Bus defaults
40 to using "abstract sockets" that exist only in memory and don't have a
41 corresponding file in /tmp.</para> 
42
43
44 <para>On most other flavors of UNIX, it's possible for the socket files to
45 leak when programs using D-Bus exit abnormally or without closing
46 their D-Bus connections. Thus, it might be interesting to run
47 dbus-cleanup-sockets in a cron job to mop up any leaked sockets.
48 Or you can just ignore the leaked sockets, they aren't really hurting
49 anything, other than cluttering the output of "ls /tmp"</para>
50
51 </refsect1>
52
53 <refsect1 id='author'><title>AUTHOR</title>
54 <para>dbus-cleanup-sockets was adapted by Havoc Pennington from
55 linc-cleanup-sockets written by Michael Meeks.</para>
56
57 </refsect1>
58
59 <refsect1 id='bugs'><title>BUGS</title>
60 <para>Please send bug reports to the D-Bus mailing list or bug tracker,
61 see <ulink url='http://www.freedesktop.org/software/dbus/'>http://www.freedesktop.org/software/dbus/</ulink></para>
62 </refsect1>
63 </refentry>
64