From a8615b3e0bc1a907d1ddafb3e74190daa3679891 Mon Sep 17 00:00:00 2001 From: Ray Voice <33094591+Ray6464@users.noreply.github.com> Date: Wed, 13 Oct 2021 01:28:17 +0500 Subject: [PATCH] cgexec: add page (#6767) --- pages/linux/cgexec.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pages/linux/cgexec.md diff --git a/pages/linux/cgexec.md b/pages/linux/cgexec.md new file mode 100644 index 000000000..426fc91cf --- /dev/null +++ b/pages/linux/cgexec.md @@ -0,0 +1,9 @@ +# cgexec + +> Limit, measure, and control resources used by processes. +> Multiple cgroup types (aka controllers) exist, such as `cpu`, `memory`, etc. +> More information: . + +- Execute a process in a given cgroup with given controller: + +`cgexec -g {{controller}}:{{cgroup_name}} {{process_name}}`