{
    "content": [
        {
            "type": "text",
            "text": "# cgset (man)\n\n## NAME\n\ncgset - set the parameters of given cgroup(s)\n\n## SYNOPSIS\n\ncgset [-r <name=value>] <cgrouppath> ...\ncgset --copy-from <sourcecgrouppath> <cgrouppath> ...\n\n## DESCRIPTION\n\nSet the parameters of input cgroups.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (1 subsections)\n- **ENVIRONMENT VARIABLES**\n- **EXAMPLES** (2 subsections)\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "cgset",
        "section": "",
        "mode": "man",
        "summary": "cgset - set the parameters of given cgroup(s)",
        "synopsis": "cgset [-r <name=value>] <cgrouppath> ...\ncgset --copy-from <sourcecgrouppath> <cgrouppath> ...",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-r",
                "long": null,
                "arg": "<name=value>",
                "description": "defines the name of the file to set and the value which should be written to that file. This parameter can be used multiple times. --copy-from <sourcecgrouppath> defines the name of the cgroup whose parameters will be copied to the input cgroup."
            }
        ],
        "examples": [
            "set variable cpus in control group student (controller cpuset) to 0-1",
            "copy  all  parameters of group group1 to group group2 (for all path where both cgroups",
            "are defined)"
        ],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 7,
                "subsections": [
                    {
                        "name": "-r <name=value>",
                        "lines": 8,
                        "flag": "-r",
                        "arg": "<name=value>"
                    }
                ]
            },
            {
                "name": "ENVIRONMENT VARIABLES",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 1,
                "subsections": [
                    {
                        "name": "cgset -r cpuset.cpus=0-1 student",
                        "lines": 3
                    },
                    {
                        "name": "cgset --copy-from group1/ group2/",
                        "lines": 5
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "cgset - set the parameters of given cgroup(s)\n\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "cgset [-r <name=value>] <cgrouppath> ...\ncgset --copy-from <sourcecgrouppath> <cgrouppath> ...\n\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Set the parameters of input cgroups.\n\n\n<path> is  the name of the cgroup which should be changed.  This parameter can be used multi‐\nple times.\n\n",
                "subsections": [
                    {
                        "name": "-r <name=value>",
                        "content": "defines the name of the file to set and the value which  should  be  written  to  that\nfile.  This parameter can be used multiple times.\n\n\n--copy-from <sourcecgrouppath>\ndefines the name of the cgroup whose parameters will be copied to the input cgroup.\n\n",
                        "flag": "-r",
                        "arg": "<name=value>"
                    }
                ]
            },
            "ENVIRONMENT VARIABLES": {
                "content": "CGROUPLOGLEVEL\ncontrols verbosity of the tool. Allowed values are DEBUG, INFO, WARNING or ERROR.\n\n",
                "subsections": []
            },
            "EXAMPLES": {
                "content": "",
                "subsections": [
                    {
                        "name": "cgset -r cpuset.cpus=0-1 student",
                        "content": "set variable cpus in control group student (controller cpuset) to 0-1\n\n"
                    },
                    {
                        "name": "cgset --copy-from group1/ group2/",
                        "content": "copy  all  parameters of group group1 to group group2 (for all path where both cgroups\nare defined)\n\n\n"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "cgrules.conf (1), cgcreate (1), cgget (1)\n\n\n\nLinux                                        2009-03-15                                     CGSET(1)",
                "subsections": []
            }
        }
    }
}