cgexec
Limit, measure, and control resources used by processes. Multiple cgroup types (aka controllers) exist, such as cpu, memory, etc. More information: <https://manned.org/cgexec>.
Install
- All systems
-
curl cmd.cat/cgexec.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
Limit, measure, and control resources used by processes. Multiple cgroup types (aka controllers) exist, such as cpu, memory, etc. More information: <https://manned.org/cgexec>.
-
Execute a process in a given cgroup with given controller:
cgexec -g controller:cgroup_name process_name
© tl;dr; authors and contributors