Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

dbus-cleanup-sockets (1)

Name

dbus-cleanup-sockets - clean up leftover sockets in a directory

Synopsis

dbus-cleanup-sockets [DIRECTORY]

Description

DBUS-CLEANUP-SOCKE(1)            User Commands           DBUS-CLEANUP-SOCKE(1)



NAME
       dbus-cleanup-sockets - clean up leftover sockets in a directory

SYNOPSIS
       dbus-cleanup-sockets [DIRECTORY]


DESCRIPTION
       The dbus-cleanup-sockets command cleans up unused D-Bus connection
       sockets. See http://www.freedesktop.org/software/dbus/ for more
       information about the big picture.

       If given no arguments, dbus-cleanup-sockets cleans up sockets in the
       standard default socket directory for the per-user-login-session
       message bus; this is usually /tmp. Optionally, you can pass a different
       directory on the command line.

       On Linux, this program is essentially useless, because D-Bus defaults
       to using "abstract sockets" that exist only in memory and don't have a
       corresponding file in /tmp.

       On most other flavors of UNIX, it's possible for the socket files to
       leak when programs using D-Bus exit abnormally or without closing their
       D-Bus connections. Thus, it might be interesting to run
       dbus-cleanup-sockets in a cron job to mop up any leaked sockets. Or you
       can just ignore the leaked sockets, they aren't really hurting
       anything, other than cluttering the output of "ls /tmp"

AUTHOR
       dbus-cleanup-sockets was adapted by Havoc Pennington from
       linc-cleanup-sockets written by Michael Meeks.

BUGS
       Please send bug reports to the D-Bus mailing list or bug tracker, see
       http://www.freedesktop.org/software/dbus/



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+---------------------+
       |ATTRIBUTE TYPE |  ATTRIBUTE VALUE    |
       +---------------+---------------------+
       |Availability   | system/library/dbus |
       +---------------+---------------------+
       |Stability      | Uncommitted         |
       +---------------+---------------------+
NOTES
       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://dbus.freedesktop.org/releases/dbus/dbus-1.10.22.tar.gz

       Further information about this software can be found on the open source
       community website at http://dbus.freedesktop.org.



D-Bus 1.10.22                     08/09/2018             DBUS-CLEANUP-SOCKE(1)