{
    "content": [
        {
            "type": "text",
            "text": "# lssubsys (man)\n\n## NAME\n\nlssubsys - list hierarchies containing given subsystem\n\n## SYNOPSIS\n\nlssubsys  [-m|--mount-points] [-M|--all-mount-points] [controller] [...]\nlssubsys  [-m|--mount-points] [-M|--all-mount-points] [-i|--hierarchies] [-a|--all]\nlssubsys  [-h|--help]\n\n## DESCRIPTION\n\nlssubsys  list the hierarchies containing the given subsystem(s). If no subsystem is defined,\nit displays all mounted hierarchies.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (6 subsections)\n- **EXAMPLE**\n- **ENVIRONMENT VARIABLES**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "lssubsys",
        "section": "",
        "mode": "man",
        "summary": "lssubsys - list hierarchies containing given subsystem",
        "synopsis": "lssubsys  [-m|--mount-points] [-M|--all-mount-points] [controller] [...]\nlssubsys  [-m|--mount-points] [-M|--all-mount-points] [-i|--hierarchies] [-a|--all]\nlssubsys  [-h|--help]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-m",
                "long": "--mount-points",
                "arg": null,
                "description": "Display mount points. Only the first mount points of shown hierarchies are displayed."
            },
            {
                "flag": "-M",
                "long": "--all-mount-points",
                "arg": null,
                "description": "Display mount points. All mount points of shown hierarchies are displayed, each on separate line."
            },
            {
                "flag": "-a",
                "long": "--all",
                "arg": null,
                "description": "Display all subsystems (including unmounted ones)."
            },
            {
                "flag": "-i",
                "long": "--hierarchies",
                "arg": null,
                "description": "Display the attached hierarchy number if the subsystem is in a hierarchy. If the op‐ tion -m is also used, the hierarchy number is shown only for unmounted hierarchies."
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Display help and exit."
            }
        ],
        "examples": [
            "The  command  lssubsys -am lists all subsystems which are present in the system, mounted ones",
            "will be shown with their mount point:",
            "$ lssubsys -am",
            "ns",
            "cpuset",
            "cpu,devices",
            "cpuacct /cgroup/cpuacct",
            "memory /cgroup/memory",
            "freezer /cgroup/freezer",
            "netcls /cgroup/netcls",
            "The command lssubsys -ami lists all subsystems which are present in the system, mounted  sub‐",
            "systems  are  listed  with  their  mount  points, unmounted ones which are in a hierarchy are",
            "listed with their hierarchy number:",
            "$ lssubsys -ami",
            "ns",
            "cpuset 5",
            "cpu,devices 6",
            "cpuacct /cgroup/cpuacct",
            "memory /cgroup/memory",
            "freezer /cgroup/freezer",
            "netcls /cgroup/netcls"
        ],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": [
                    {
                        "name": "controller",
                        "lines": 4
                    },
                    {
                        "name": "-m, --mount-points",
                        "lines": 3,
                        "flag": "-m",
                        "long": "--mount-points"
                    },
                    {
                        "name": "-M, --all-mount-points",
                        "lines": 4,
                        "flag": "-M",
                        "long": "--all-mount-points"
                    },
                    {
                        "name": "-a, --all",
                        "lines": 3,
                        "flag": "-a",
                        "long": "--all"
                    },
                    {
                        "name": "-i, --hierarchies",
                        "lines": 4,
                        "flag": "-i",
                        "long": "--hierarchies"
                    },
                    {
                        "name": "-h, --help",
                        "lines": 3,
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            {
                "name": "EXAMPLE",
                "lines": 24,
                "subsections": []
            },
            {
                "name": "ENVIRONMENT VARIABLES",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "lssubsys - list hierarchies containing given subsystem\n\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "lssubsys  [-m|--mount-points] [-M|--all-mount-points] [controller] [...]\nlssubsys  [-m|--mount-points] [-M|--all-mount-points] [-i|--hierarchies] [-a|--all]\nlssubsys  [-h|--help]\n\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "lssubsys  list the hierarchies containing the given subsystem(s). If no subsystem is defined,\nit displays all mounted hierarchies.\n\n",
                "subsections": [
                    {
                        "name": "controller",
                        "content": "defines the subsystem whose hierarchy is shown.  If this parameter is  not  used,  the\ncommand will list all mounted subsystems.\n\n"
                    },
                    {
                        "name": "-m, --mount-points",
                        "content": "Display mount points. Only the first mount points of shown hierarchies are displayed.\n\n",
                        "flag": "-m",
                        "long": "--mount-points"
                    },
                    {
                        "name": "-M, --all-mount-points",
                        "content": "Display  mount  points.  All  mount points of shown hierarchies are displayed, each on\nseparate line.\n\n",
                        "flag": "-M",
                        "long": "--all-mount-points"
                    },
                    {
                        "name": "-a, --all",
                        "content": "Display all subsystems (including unmounted ones).\n\n",
                        "flag": "-a",
                        "long": "--all"
                    },
                    {
                        "name": "-i, --hierarchies",
                        "content": "Display the attached hierarchy number if the subsystem is in a hierarchy.  If the  op‐\ntion -m is also used, the hierarchy number is shown only for unmounted hierarchies.\n\n",
                        "flag": "-i",
                        "long": "--hierarchies"
                    },
                    {
                        "name": "-h, --help",
                        "content": "Display help and exit.\n\n",
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            "EXAMPLE": {
                "content": "The  command  lssubsys -am lists all subsystems which are present in the system, mounted ones\nwill be shown with their mount point:\n$ lssubsys -am\nns\ncpuset\ncpu,devices\ncpuacct /cgroup/cpuacct\nmemory /cgroup/memory\nfreezer /cgroup/freezer\nnetcls /cgroup/netcls\n\nThe command lssubsys -ami lists all subsystems which are present in the system, mounted  sub‐\nsystems  are  listed  with  their  mount  points, unmounted ones which are in a hierarchy are\nlisted with their hierarchy number:\n$ lssubsys -ami\nns\ncpuset 5\ncpu,devices 6\ncpuacct /cgroup/cpuacct\nmemory /cgroup/memory\nfreezer /cgroup/freezer\nnetcls /cgroup/netcls\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": "lscgroup (1), cgcreate (1), cgdelete (1), cgconfig.conf (5)\n\n\n\nLinux                                        2009-11-05                                  LSSUBSYS(1)",
                "subsections": []
            }
        }
    }
}