LSSUBSYS(1)
π LSSUBSYS(1) π
okay bestie, welcome to the libcgroup manual page for lssubsys β yes that's the manual name, she lives here now π
β¨ NAME β¨
lssubsys β list hierarchies containing given subsystem π¦
πΈ SYNOPSIS πΈ
lssubsys [-m|--mount-points] [-M|--all-mount-points] [controller] [...]
lssubsys [-m|--mount-points] [-M|--all-mount-points] [-i|--hierarchies]
[-a|--all]
lssubsys [-h|--help]
π DESCRIPTION π
so like, lssubsys lists the hierarchies containing the given subsystem(s), periodt. And if you don't define any subsystem at all? She just displays all the mounted hierarchies for you. no cap, she's generous like that π
π controller
defines the subsystem whose hierarchy is shown π If you don't use this parameter, the command will list all mounted subsystems. it's giving "i'll handle it myself" energy fr fr
π OPTIONS π
-m,--mount-pointsβ Display mount points π« Only the first mount points of the shown hierarchies get displayed. one and done, she's not doing a whole tour.-M,--all-mount-pointsβ Display mount points β¨ All mount points of the shown hierarchies are displayed, each on a separate line. yes queen, give us the full list, every single one π-a,--allβ Display all subsystems (including unmounted ones) π everybody gets an invite to this party, even the ones not mounted.-i,--hierarchiesβ Display the attached hierarchy number if the subsystem is in a hierarchy π’ And heads up bestie: if the option-mis also used, the hierarchy number is shown only for unmounted hierarchies. lowkey specific but okay, we respect the rules.-h,--helpβ Display help and exit π«Ά she'll explain herself and then dip.
π₯ EXAMPLE π₯
The command lssubsys -am lists all subsystems which are present in the system, and the mounted ones will be shown with their mount point π:
$ lssubsys -am
ns
cpuset
cpu,devices
cpuacct /cgroup/cpuacct
memory /cgroup/memory
freezer /cgroup/freezer
net_cls /cgroup/net_cls
The command lssubsys -ami lists all subsystems which are present in the system β mounted subsystems are listed with their mount points, and 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
net_cls /cgroup/net_cls
π NOTES π
lssubsys is currently supported on cgroups v1 only. that's it, that's the note. don't come for her about v2, she's not that girl (yet) π
π§ ENVIRONMENT VARIABLES π§
CGROUP_LOGLEVELβ controls the verbosity of the tool π Allowed values areDEBUG,INFO,WARNINGorERROR. pick your vibe, she'll match it π
π SEE ALSO π
lscgroup (1), cgcreate (1), cgdelete (1), cgconfig.conf (5) β go read the whole friend group bestie, they're all iconic π«Ά
and that's the whole page, mwah π this came to you from the Linux source, version dated 2009-11-05, filed under LSSUBSYS(1) β literally a legend, obsessed, bye bestie πβ¨ππ¦
π¦ where this page comes from
- debian trixie: cgroup-tools 3.1.0-2+b2 Β· LGPL-2.1-only
- ubuntu questing: cgroup-tools 3.1.0-2
- ubuntu resolute: cgroup-tools 3.1.0-2build1 Β· LGPL-2.1-only
- ubuntu stonking: cgroup-tools 3.2.0-1 Β· LGPL-2.1-only
- Copyright (C) 2009 Red Hat, Inc. All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms