{
    "content": [
        {
            "type": "text",
            "text": "# CGGET (man)\n\n## NAME\n\ncgget - print parameter(s) of given group(s)\n\n## SYNOPSIS\n\ncgget [-n] [-v] [-r <name>] [-g <controller>] [-a] <path> ...\ncgget [-n] [-v] [-r <name>] -g <controller>:<path> ...\n\n## DESCRIPTION\n\nPrints  the  parameter(s)  of input cgroup(s).  If neither controller nor variable are speci‐\nfied, the values of all possible variables are displayed.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (7 subsections)\n- **EXAMPLES**\n- **ENVIRONMENT VARIABLES**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "CGGET",
        "section": "",
        "mode": "man",
        "summary": "cgget - print parameter(s) of given group(s)",
        "synopsis": "cgget [-n] [-v] [-r <name>] [-g <controller>] [-a] <path> ...\ncgget [-n] [-v] [-r <name>] -g <controller>:<path> ...",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-a",
                "long": "--all",
                "arg": null,
                "description": "print the variables for all controllers which consist in the given cgroup"
            },
            {
                "flag": "-g",
                "long": null,
                "arg": "<controller>",
                "description": "defines controllers whose values should be displayed. This option can be used multi‐ ple times."
            },
            {
                "flag": "-g",
                "long": null,
                "arg": null,
                "description": "defines control groups whose values should be displayed. This option can be used mul‐ tiple times."
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "display help and exit"
            },
            {
                "flag": "-n",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-r",
                "long": "--variable",
                "arg": "<name>",
                "description": "defines parameter to display. This option can be used multiple times."
            },
            {
                "flag": "-v",
                "long": "--values-only",
                "arg": null,
                "description": "print only values, not parameter names."
            }
        ],
        "examples": [
            "$ cgget -r cpuset.cpus -r cpuset.mems first second",
            "first:",
            "cpuset.cpus=0-1",
            "cpuset.mems=0",
            "second:",
            "cpuset.cpus=0",
            "cpuset.mems=0",
            "$ cgget -n -r cpuset.cpus -r cpuset.mems first second",
            "cpuset.cpus=0-1",
            "cpuset.mems=0",
            "cpuset.cpus=0",
            "cpuset.mems=0",
            "$ cgget -nv -r cpuset.cpus -r cpuset.mems first second",
            "0-1",
            "$ cgget -n -g cpu /",
            "cpu.rtperiodus=1000000",
            "cpu.rtruntimeus=950000",
            "cpu.shares=1024"
        ],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 8,
                "subsections": [
                    {
                        "name": "-a, --all",
                        "lines": 3,
                        "flag": "-a",
                        "long": "--all"
                    },
                    {
                        "name": "-g <controller>",
                        "lines": 4,
                        "flag": "-g",
                        "arg": "<controller>"
                    },
                    {
                        "name": "-g <controller>:<path>",
                        "lines": 4,
                        "flag": "-g"
                    },
                    {
                        "name": "-h, --help",
                        "lines": 3,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-n",
                        "lines": 1,
                        "flag": "-n"
                    },
                    {
                        "name": "-r, --variable <name>",
                        "lines": 4,
                        "flag": "-r",
                        "long": "--variable",
                        "arg": "<name>"
                    },
                    {
                        "name": "-v, --values-only",
                        "lines": 3,
                        "flag": "-v",
                        "long": "--values-only"
                    }
                ]
            },
            {
                "name": "EXAMPLES",
                "lines": 28,
                "subsections": []
            },
            {
                "name": "ENVIRONMENT VARIABLES",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "cgget - print parameter(s) of given group(s)\n\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "cgget [-n] [-v] [-r <name>] [-g <controller>] [-a] <path> ...\ncgget [-n] [-v] [-r <name>] -g <controller>:<path> ...\n\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Prints  the  parameter(s)  of input cgroup(s).  If neither controller nor variable are speci‐\nfied, the values of all possible variables are displayed.\n\n\n<path> is the name of the cgroup which should be read.  This parameter can be  used  multiple\ntimes.\n\n",
                "subsections": [
                    {
                        "name": "-a, --all",
                        "content": "print the variables for all controllers which consist in the  given cgroup\n\n",
                        "flag": "-a",
                        "long": "--all"
                    },
                    {
                        "name": "-g <controller>",
                        "content": "defines  controllers whose values should be displayed.  This option can be used multi‐\nple times.\n\n",
                        "flag": "-g",
                        "arg": "<controller>"
                    },
                    {
                        "name": "-g <controller>:<path>",
                        "content": "defines control groups whose values should be displayed.  This option can be used mul‐\ntiple times.\n\n",
                        "flag": "-g"
                    },
                    {
                        "name": "-h, --help",
                        "content": "display help and exit\n\n",
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-n",
                        "content": "",
                        "flag": "-n"
                    },
                    {
                        "name": "-r, --variable <name>",
                        "content": "defines parameter to display.  This option can be used multiple times.\n\n\n",
                        "flag": "-r",
                        "long": "--variable",
                        "arg": "<name>"
                    },
                    {
                        "name": "-v, --values-only",
                        "content": "print only values, not parameter names.\n\n",
                        "flag": "-v",
                        "long": "--values-only"
                    }
                ]
            },
            "EXAMPLES": {
                "content": "$ cgget -r cpuset.cpus -r cpuset.mems first second\nfirst:\ncpuset.cpus=0-1\ncpuset.mems=0\n\nsecond:\ncpuset.cpus=0\ncpuset.mems=0\n\n$ cgget -n -r cpuset.cpus -r cpuset.mems first second\ncpuset.cpus=0-1\ncpuset.mems=0\ncpuset.cpus=0\ncpuset.mems=0\n\n$ cgget -nv -r cpuset.cpus -r cpuset.mems first second\n0-1\n0\n0\n0\n\n$ cgget -n -g cpu /\ncpu.rtperiodus=1000000\ncpu.rtruntimeus=950000\ncpu.shares=1024\n\n\n",
                "subsections": []
            },
            "ENVIRONMENT VARIABLES": {
                "content": "CGROUPLOGLEVEL\ncontrols verbosity of the tool. Allowed values are DEBUG, INFO, WARNING or ERROR.\n\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "cgrules.conf (1), cgcreate (1), cgget (1)\n\n\n\n\nLinux                                        2010-01-18                                     CGGET(1)",
                "subsections": []
            }
        }
    }
}