{
    "content": [
        {
            "type": "text",
            "text": "# cgget(1) (man)\n\n**Summary:** cgget - print parameter(s) of given group(s)\n\n**Synopsis:** cgget [-n] [-v] [-r <name>] [-g <controller>] [-a] <path> ...\ncgget [-n] [-v] [-r <name>] -g <controller>:<path> ...\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -a | --all | — | print the variables for all controllers which consist in the given cgroup |\n| -g | — | <controller> | defines controllers whose values should be displayed. This option can be used multi‐ ple times. |\n| -g | — | — | defines control groups whose values should be displayed. This option can be used mul‐ tiple times. |\n| -h | --help | — | display help and exit |\n| -n | — | — |  |\n| -r | --variable | <name> | defines parameter to display. This option can be used multiple times. |\n| -v | --values-only | — | print only values, not parameter names. |\n\n## Examples\n\n- `$ cgget -r cpuset.cpus -r cpuset.mems first second`\n- `first:`\n- `cpuset.cpus=0-1`\n- `cpuset.mems=0`\n- `second:`\n- `cpuset.cpus=0`\n- `cpuset.mems=0`\n- `$ cgget -n -r cpuset.cpus -r cpuset.mems first second`\n- `cpuset.cpus=0-1`\n- `cpuset.mems=0`\n- `cpuset.cpus=0`\n- `cpuset.mems=0`\n- `$ cgget -nv -r cpuset.cpus -r cpuset.mems first second`\n- `0-1`\n- `$ cgget -n -g cpu /`\n- `cpu.rtperiodus=1000000`\n- `cpu.rtruntimeus=950000`\n- `cpu.shares=1024`\n\n## Section Outline\n\n- **NAME** (3 lines)\n- **SYNOPSIS** (4 lines)\n- **DESCRIPTION** (8 lines) — 7 subsections\n  - -a, --all (3 lines)\n  - -g <controller> (4 lines)\n  - -g <controller>:<path> (4 lines)\n  - -h, --help (3 lines)\n  - -n (1 lines)\n  - -r, --variable <name> (4 lines)\n  - -v, --values-only (3 lines)\n- **EXAMPLES** (28 lines)\n- **ENVIRONMENT VARIABLES** (4 lines)\n- **SEE ALSO** (6 lines)\n\n## Full Content\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\n<path> is the name of the cgroup which should be read.  This parameter can be  used  multiple\ntimes.\n\n#### -a, --all\n\nprint the variables for all controllers which consist in the  given cgroup\n\n#### -g <controller>\n\ndefines  controllers whose values should be displayed.  This option can be used multi‐\nple times.\n\n#### -g <controller>:<path>\n\ndefines control groups whose values should be displayed.  This option can be used mul‐\ntiple times.\n\n#### -h, --help\n\ndisplay help and exit\n\n#### -n\n\n#### -r, --variable <name>\n\ndefines parameter to display.  This option can be used multiple times.\n\n#### -v, --values-only\n\nprint only values, not parameter names.\n\n### EXAMPLES\n\n$ 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### ENVIRONMENT VARIABLES\n\nCGROUPLOGLEVEL\ncontrols verbosity of the tool. Allowed values are DEBUG, INFO, WARNING or ERROR.\n\n### SEE ALSO\n\ncgrules.conf (1), cgcreate (1), cgget (1)\n\n\n\n\nLinux                                        2010-01-18                                     CGGET(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "cgget",
        "section": "1",
        "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": []
            }
        }
    }
}