{
    "content": [
        {
            "type": "text",
            "text": "# systemd.slice(5) (man)\n\n## NAME\n\nsystemd.slice - Slice unit configuration\n\n## SYNOPSIS\n\nslice.slice\n\n## DESCRIPTION\n\nA unit configuration file whose name ends in \".slice\" encodes information about a slice unit.\nA slice unit is a concept for hierarchically managing resources of a group of processes. This\nmanagement is performed by creating a node in the Linux Control Group (cgroup) tree. Units\nthat manage processes (primarily scope and service units) may be assigned to a specific\nslice. For each slice, certain resource limits may be set that apply to all processes of all\nunits contained in that slice. Slices are organized hierarchically in a tree. The name of the\nslice encodes the location in the tree. The name consists of a dash-separated series of\nnames, which describes the path to the slice from the root slice. The root slice is named\n-.slice. Example: foo-bar.slice is a slice that is located within foo.slice, which in turn is\nlocated in the root slice -.slice.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **AUTOMATIC DEPENDENCIES** (2 subsections)\n- **SEE ALSO**\n- **NOTES**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "systemd.slice",
        "section": "5",
        "mode": "man",
        "summary": "systemd.slice - Slice unit configuration",
        "synopsis": "slice.slice",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "systemd",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
            },
            {
                "name": "systemd.unit",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/systemd.unit/5/json"
            },
            {
                "name": "systemd.resource-control",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/systemd.resource-control/5/json"
            },
            {
                "name": "systemd.service",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/systemd.service/5/json"
            },
            {
                "name": "systemd.scope",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/systemd.scope/5/json"
            },
            {
                "name": "systemd.special",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/systemd.special/7/json"
            },
            {
                "name": "systemd.directives",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/systemd.directives/7/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 26,
                "subsections": []
            },
            {
                "name": "AUTOMATIC DEPENDENCIES",
                "lines": 1,
                "subsections": [
                    {
                        "name": "Implicit Dependencies",
                        "lines": 5
                    },
                    {
                        "name": "Default Dependencies",
                        "lines": 7
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "systemd.slice - Slice unit configuration\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "slice.slice\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "A unit configuration file whose name ends in \".slice\" encodes information about a slice unit.\nA slice unit is a concept for hierarchically managing resources of a group of processes. This\nmanagement is performed by creating a node in the Linux Control Group (cgroup) tree. Units\nthat manage processes (primarily scope and service units) may be assigned to a specific\nslice. For each slice, certain resource limits may be set that apply to all processes of all\nunits contained in that slice. Slices are organized hierarchically in a tree. The name of the\nslice encodes the location in the tree. The name consists of a dash-separated series of\nnames, which describes the path to the slice from the root slice. The root slice is named\n-.slice. Example: foo-bar.slice is a slice that is located within foo.slice, which in turn is\nlocated in the root slice -.slice.\n\nNote that slice units cannot be templated, nor is possible to add multiple names to a slice\nunit by creating additional symlinks to its unit file.\n\nBy default, service and scope units are placed in system.slice, virtual machines and\ncontainers registered with systemd-machined(8) are found in machine.slice, and user sessions\nhandled by systemd-logind(8) in user.slice. See systemd.special(7) for more information.\n\nSee systemd.unit(5) for the common options of all unit configuration files. The common\nconfiguration items are configured in the generic [Unit] and [Install] sections. The slice\nspecific configuration options are configured in the [Slice] section. Currently, only generic\nresource control settings as described in systemd.resource-control(5) are allowed.\n\nSee the New Control Group Interfaces[1] for an introduction on how to make use of slice units\nfrom programs.\n",
                "subsections": []
            },
            "AUTOMATIC DEPENDENCIES": {
                "content": "",
                "subsections": [
                    {
                        "name": "Implicit Dependencies",
                        "content": "The following dependencies are implicitly added:\n\n•   Slice units automatically gain dependencies of type After= and Requires= on their\nimmediate parent slice unit.\n"
                    },
                    {
                        "name": "Default Dependencies",
                        "content": "The following dependencies are added unless DefaultDependencies=no is set:\n\n•   Slice units will automatically have dependencies of type Conflicts= and Before= on\nshutdown.target. These ensure that slice units are removed prior to system shutdown. Only\nslice units involved with late system shutdown should disable DefaultDependencies=\noption.\n"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "systemd(1), systemd.unit(5), systemd.resource-control(5), systemd.service(5),\nsystemd.scope(5), systemd.special(7), systemd.directives(7)\n",
                "subsections": []
            },
            "NOTES": {
                "content": "1. New Control Group Interfaces\nhttps://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/\n\n\n\nsystemd 249                                                                         SYSTEMD.SLICE(5)",
                "subsections": []
            }
        }
    }
}