💾 Archived View for freeshell.de › tldr › cgcreate.gmi captured on 2024-02-05 at 10:29:27. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Create cgroups, used to limit, measure, and control resources used by processes.
`cgroups` types can be `memory`, `cpu`, `net_cls`, etc.
cgcreate -g {group_type}:{group_name}
cgcreate -g {group_type1},{group_type2}:{group_name}
mkdir /sys/fs/cgroup/{group_type}/{group_name}/{subgroup_name}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).