{
    "mode": "man",
    "parameter": "lssubsys",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/lssubsys/1/json",
    "generated": "2026-06-15T14:24:51Z",
    "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]",
    "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": []
        }
    },
    "summary": "lssubsys - list hierarchies containing given subsystem",
    "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": []
}