cgcreate
Create cgroups, used to limit, measure, and control resources used by processes. cgroups types can be memory, cpu, net_cls, etc. More information: <https://manned.org/cgcreate>.
Install
- All systems
-
curl cmd.cat/cgcreate.sh
- Debian
-
apt-get install cgroup-tools - Ubuntu
-
apt-get install cgroup-tools - Kali Linux
-
apt-get install cgroup-tools - CentOS
-
yum install libcgroup - Fedora
-
dnf install libcgroup-tools - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install cgroup-tools - Raspbian
-
apt-get install cgroup-tools
Create cgroups, used to limit, measure, and control resources used by processes. cgroups types can be memory, cpu, net_cls, etc. More information: <https://manned.org/cgcreate>.
-
Create a new group:
cgcreate -g group_type:group_name -
Create a new group with multiple cgroup types:
cgcreate -g group_type1,group_type2:group_name -
Create a subgroup:
mkdir /sys/fs/cgroup/group_type/group_name/subgroup_name
© tl;dr; authors and contributors