{
    "mode": "man",
    "parameter": "cgdelete",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/cgdelete/1/json",
    "generated": "2026-10-22T19:53:22Z",
    "synopsis": "cgdelete [-h] [-r] [[-g] <controllers>:<path>] ...",
    "sections": {
        "NAME": {
            "content": "cgdelete - remove control group(s)\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "cgdelete [-h] [-r] [[-g] <controllers>:<path>] ...\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The cgdelete program removes all specified control groups.\n\n",
            "subsections": [
                {
                    "name": "[-g] <controllers>:<path>",
                    "content": "Defines  the control group to delete. Multiple control groups may be specified.  -g is\noptional.\n\n"
                },
                {
                    "name": "-h, --help",
                    "content": "Display this help and exit.\n\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-r, --recursive",
                    "content": "Recursively remove all subgroups.\n\n",
                    "flag": "-r",
                    "long": "--recursive"
                }
            ]
        },
        "ENVIRONMENT VARIABLES": {
            "content": "CGROUPLOGLEVEL\ncontrols verbosity of the tool. Allowed values are DEBUG, INFO, WARNING or ERROR.\n\n",
            "subsections": []
        },
        "EXAMPLES": {
            "content": "",
            "subsections": [
                {
                    "name": "cgdelete -g cpu,devices:/test",
                    "content": "remove control group test from hierarchies containing cpu and device controllers\n\n\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "cgcreate (1), lscgroup (1), cgclear (1)\n\nLinux                                        2009-10-26                                  CGDELETE(1)",
            "subsections": []
        }
    },
    "summary": "cgdelete - remove control group(s)",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Defines the control group to delete. Multiple control groups may be specified. -g is optional."
        },
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "Display this help and exit."
        },
        {
            "flag": "-r",
            "long": "--recursive",
            "arg": null,
            "description": "Recursively remove all subgroups."
        }
    ],
    "examples": [
        "remove control group test from hierarchies containing cpu and device controllers"
    ],
    "see_also": []
}