CGCONFIGPARSER(8)
CGCONFIGPARSER(8) π
okay bestie, so this is cgconfigparser, part of the libcgroup manual, and she is literally the girl who sets up your control group file system. like she reads your config, she mounts your mount points, she does the whole thing. no cap. π
β¨ NAME β¨
cgconfigparser β setup control group file system π
πΈ SYNOPSIS πΈ
cgconfigparser [-h] [-l <filename>] [-L <directory>] [...]
π¦ OPTIONS π¦
-h,--helpβ bestie she just tells you how to use her. Displays help. simple as that. β¨-l,--load=FILEβ parses the control groups configuration file, sets up the control group file system defined by the configuration file, and mounts mount points defined by the configuration file. the format of the file is described incgconfig.conf. you can use this option multiple times and mix it with the-Loption, she's flexible like that. π-L,--load-directory=DIRβ finds all files in the given directory and parses them in alphabetical order, like they were specified by the-loption. this option can be used multiple times and can be mixed with the-loption. yes queen, alphabetical, she's organized. ποΈ-a <agid>:<auid>β defines the default owner of the rest of the defined control group's files. these users are allowed to set subsystem parameters and create subgroups. the default value is the same as has the parent cgroup. π-d,--dperm=modeβ sets the default permissions of a control groups directory. permissions need to be specified as octal numbers, e.g.-d 775. π-f,--fperm=modeβ sets the default permissions of the control group files. permissions need to be specified as octal numbers, e.g.-f 775. heads up though, the value is not used as given, because the current owner's permissions are used as an umask (so777will set group and others permissions to the owners permissions). not me learning umask from a manpage π-s,--tperm=modeβ sets the default permissions of the control group tasks files. permissions need to be specified as octal numbers, e.g.-f 775. same deal as above: the value is not used as given because the current owner's permissions are used as an umask (so777will set group and others permissions to the owners permissions). π«Ά-t <tuid>:<tgid>β defines the default owner of tasks file of the defined control group. i.e. this user and members of this group have write access to the file. βοΈ
π ENVIRONMENT VARIABLES π
CGROUP_LOGLEVELβ controls verbosity of the tool. allowed values areDEBUG,INFO,WARNINGorERROR. pick your vibe, she'll match your energy. π
π FILES π
/etc/cgconfig.confβ default libcgroup configuration file π/etc/cgconfig.d/β default libcgroup configuration files directory π
π EXAMPLES π
cgconfigparser -l /etc/cgconfig.confβ setup control group file system based on/etc/cgconfig.confconfiguration file. that's it, that's the whole flex. π₯
cgconfigparser -l /etc/cgconfig.conf
π SEE ALSO π
cgconfig.conf (5) β go read her sister's page too, iykyk π
ngl if you made it this far you're a real one. go parse some configs, bestie. π
that was cgconfigparser from the libcgroup manual, dated 2009-03-16, from Linux. periodt. πβ¨
π¦ where this page comes from
- debian bookworm: cgroup-tools 2.0.2-2 Β· LGPL-2.1-only
- debian trixie: cgroup-tools 3.1.0-2+b2 Β· LGPL-2.1-only
- ubuntu jammy: cgroup-tools 2.0-2 Β· LGPL-2.1-only
- ubuntu noble: cgroup-tools 2.0.2-2build1 Β· 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