{
    "mode": "man",
    "parameter": "dbus-cleanup-sockets",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/dbus-cleanup-sockets/1/json",
    "generated": "2026-07-05T15:56:52Z",
    "synopsis": "dbus-cleanup-sockets [DIRECTORY]",
    "sections": {
        "NAME": {
            "content": "dbus-cleanup-sockets - clean up leftover sockets in a directory\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "dbus-cleanup-sockets [DIRECTORY]\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The dbus-cleanup-sockets command cleans up unused D-Bus connection sockets. See\nhttp://www.freedesktop.org/software/dbus/ for more information about the big picture.\n\nIf given no arguments, dbus-cleanup-sockets cleans up sockets in the standard default socket\ndirectory for the per-user-login-session message bus; this is usually /tmp. Optionally, you\ncan pass a different directory on the command line.\n\nOn Linux, this program is essentially useless, because D-Bus defaults to using \"abstract\nsockets\" that exist only in memory and don't have a corresponding file in /tmp.\n\nOn most other flavors of UNIX, it's possible for the socket files to leak when programs using\nD-Bus exit abnormally or without closing their D-Bus connections. Thus, it might be\ninteresting to run dbus-cleanup-sockets in a cron job to mop up any leaked sockets. Or you\ncan just ignore the leaked sockets, they aren't really hurting anything, other than\ncluttering the output of \"ls /tmp\"\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "dbus-cleanup-sockets was adapted by Havoc Pennington from linc-cleanup-sockets written by\nMichael Meeks.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "Please send bug reports to the D-Bus mailing list or bug tracker, see",
            "subsections": [
                {
                    "name": "http://www.freedesktop.org/software/dbus/",
                    "content": "D-Bus 1.12.20                                                                  DBUS-CLEANUP-SOCKE(1)"
                }
            ]
        }
    },
    "summary": "dbus-cleanup-sockets - clean up leftover sockets in a directory",
    "flags": [],
    "examples": [],
    "see_also": []
}