{
    "mode": "pydoc",
    "parameter": "systemd",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/pydoc/systemd/json",
    "generated": "2026-06-02T15:50:13Z",
    "sections": {
        "NAME": {
            "content": "systemd\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "#  -*- Mode: python; indent-tabs-mode: nil -*- */\n#\n#\n#  Copyright 2012 David Strauss\n#\n#  python-systemd is free software; you can redistribute it and/or modify it\n#  under the terms of the GNU Lesser General Public License as published by\n#  the Free Software Foundation; either version 2.1 of the License, or\n#  (at your option) any later version.\n#\n#  python-systemd is distributed in the hope that it will be useful, but\n#  WITHOUT ANY WARRANTY; without even the implied warranty of\n#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n#  Lesser General Public License for more details.\n#\n#  You should have received a copy of the GNU Lesser General Public License\n#  along with python-systemd; If not, see <http://www.gnu.org/licenses/>.\n",
            "subsections": []
        },
        "PACKAGE CONTENTS": {
            "content": "daemon\njournal\nreader\ndaemon\nid128\njournal\nlogin\n",
            "subsections": []
        },
        "FILE": {
            "content": "/usr/lib/python3/dist-packages/systemd/init.py\n\n",
            "subsections": []
        }
    },
    "summary": "systemd",
    "flags": [],
    "examples": [],
    "see_also": [],
    "tldr": {
        "source": "cheatsh",
        "description": "",
        "examples": [
            {
                "description": "To display process startup time:",
                "command": "systemd-analyze"
            },
            {
                "description": "To display process startup time at service level:",
                "command": "systemd-analyze blame"
            },
            {
                "description": "To list running units:",
                "command": "systemctl list-units"
            },
            {
                "description": "To load a unit at startup:",
                "command": "systemctl enable foo.service"
            },
            {
                "description": "To start or Stop a unit:",
                "command": "systemctl &lt;start | stop&gt; foo.service"
            },
            {
                "description": "To unit file locations:",
                "command": "/etc/systemd/system"
            }
        ]
    }
}