CGCONFIGPARSER(8)

πŸ“¦
version 3.2.0 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

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 in cgconfig.conf. you can use this option multiple times and mix it with the -L option, 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 -l option. this option can be used multiple times and can be mixed with the -l option. 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 (so 777 will 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 (so 777 will 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 are DEBUG, INFO, WARNING or ERROR. 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.conf configuration 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