cgexec: add page (#6767)

beep
Ray Voice 2021-10-13 01:28:17 +05:00 committed by GitHub
parent a0a0d6c3fb
commit a8615b3e0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

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}}`