cgexec: add page (#6767)

This commit is contained in:
Ray Voice
2021-10-13 01:28:17 +05:00
committed by GitHub
parent a0a0d6c3fb
commit a8615b3e0b

9
pages/linux/cgexec.md Normal file
View File

@@ -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: <https://manned.org/cgexec>.
- Execute a process in a given cgroup with given controller:
`cgexec -g {{controller}}:{{cgroup_name}} {{process_name}}`